Login and out using PHP
Posted: Tue Sep 22, 2009 3:28 am
Hi ,
I'm desigining a simple site using php. I've set up users account and registertion form. Also I've added a login and logout feature.
After user login to the site he is redirected to page with the option to sign out ( i've used session_unset() and session_destroy() functions.
Mu issue is that after the user is signing out he is redirected again to home page but when I clicking 'Back' on the browser , The user get again the 'sign out' option .
Is some one can help me here ?
Thanks .
I'm desigining a simple site using php. I've set up users account and registertion form. Also I've added a login and logout feature.
After user login to the site he is redirected to page with the option to sign out ( i've used session_unset() and session_destroy() functions.
Mu issue is that after the user is signing out he is redirected again to home page but when I clicking 'Back' on the browser , The user get again the 'sign out' option .
Is some one can help me here ?
Thanks .