Hello forum,
I am controlling my admin pages with the help of session varriable.
Login Page -> controller -> class -> if everything goes well, i am welcoming user to Admin Home page.
i am creating session varriable in my class pages.
Now the problem is, when someone logs out, and i destroy my session; then again i want to logged into the system from the same window......the system is not letting me in....that means i am not able to create new session from the same browser window...
Can you plz help me with this.....
Regards.
Session does not start after logout
Moderator: General Moderators
Re: Session does not start after logout
Have you tried session_start() after destroying your session?
May be posting your logout page code would make things more clear.
May be posting your logout page code would make things more clear.
Re: Session does not start after logout
yes, i m already doing so....Festy wrote:Have you tried session_start() after destroying your session?
May be posting your logout page code would make things more clear.
I have used session_start() in my config.php page which is included in my class.php
where session is created but it does not returned the value of session second time I login...
regards