sonal Posted July 19, 2011 Share Posted July 19, 2011 I am using registration example. I am able to login but cannot logout with logout.php script. I have used exact same script as it is given in the book. What can be the problem? Link to comment Share on other sites More sharing options...
HartleySan Posted July 19, 2011 Share Posted July 19, 2011 You're going to have to provide a bit more info than that. If everything were correct, it would work. There might be some difference in your work environment that requires you to change your code slightly from the logout script in the book. Link to comment Share on other sites More sharing options...
sonal Posted July 19, 2011 Author Share Posted July 19, 2011 Yes, It was my mistake. My session variables were not declared correctly. So I got it right now, and it is working. Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts