By swarna.p on
Hi,
I have this problem please help
I have Logout link on my front page for the same i have the following code in my Page-front.tpl and page.tpl
if(!isset($_SESSION['userid'])){
print "Welcome ".$user->name."! " ; print l('Log out', 'http://sciotdev.radiantexp.com/logout', array('class' => 'logout-link'), 'destination=http://sciotdev.radiantexp.com/logout', NULL, TRUE); } else{
print $base_url; /user/" style="text-decoration:none;">Login | print $base_url; /user/register" style="text-decoration:none; ">Register
}
What i see is login and register links works fine but logout doesnt seem to be working i have tried many options but nothing fixes the problem when i click on logout link for the first click it doesnt logout and for the second click it displays the access denied screen.
Thanks in advance for your suggestions !
Comments
Does any one has an answer
Does any one has an answer for this?
i could solve this issue by
i could solve this issue by changing the code to header("Cache-Control: no-store, no-cache, must-revalidate"); bootstrap.inc
thanks for the resolution i found in http://drupal.org/node/197786