Page 1 of 1

Session does not start after logout

Posted: Tue Aug 10, 2010 6:57 am
by krsm1980
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.

Re: Session does not start after logout

Posted: Tue Aug 10, 2010 7:13 am
by Festy
Have you tried session_start() after destroying your session?
May be posting your logout page code would make things more clear.

Re: Session does not start after logout

Posted: Tue Aug 10, 2010 7:45 am
by krsm1980
Festy wrote:Have you tried session_start() after destroying your session?
May be posting your logout page code would make things more clear.
yes, i m already doing so....

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