Page 1 of 1

Problem in logout

Posted: Fri Feb 04, 2011 6:51 am
by hatrena
Hi everybody.

i have created a log out page. but when i am logged out and then press BACKSPACE i will be directed to the previous page not to login page.

please help me on this to solve the problem.

thank you. :(

Re: Problem in logout

Posted: Fri Feb 04, 2011 10:25 am
by anantha
in each page at the top you need to check whether a person is logged in or not...if not send them to login page in your case...

Re: Problem in logout

Posted: Fri Feb 04, 2011 3:42 pm
by social_experiment
At logout you can set a value in the database to 0 and your 'auth' checking should have a look at that value to see if it is set. If it is, user still logged in, else user not logged in, redirect (or take appropriate action).