Locking a session?
Posted: Fri Mar 14, 2008 10:14 am
Hi guys,
For a university project i have to write a feature that acts like a vista lock for a website. The user clicks the lock button on the main page, then it goes to another page when the user has to enter their password to go back to the page originally viewed.
I have researched into sessions, and believe that i will have to take the username from the session on the previous page and store it as a variable, then destroy the session in the lock page. I will then have to re-activate the session.
Please could someone confirm my intents. I am a complete rookie and php, but dont expect anyone to do the code for me, just ask advice.
cheers
For a university project i have to write a feature that acts like a vista lock for a website. The user clicks the lock button on the main page, then it goes to another page when the user has to enter their password to go back to the page originally viewed.
I have researched into sessions, and believe that i will have to take the username from the session on the previous page and store it as a variable, then destroy the session in the lock page. I will then have to re-activate the session.
Please could someone confirm my intents. I am a complete rookie and php, but dont expect anyone to do the code for me, just ask advice.
cheers