Hi can someone share with me a script which is secure in a sense just like this example:
I have a working script that checks for the right username and password before allowing entrance to a secure page.The only problem is that, if lets say i were to enter a diff url after entering the secure page and then later when i want to go back 2 that secure page, it should bring to the login page instead of going to the secure page directly.
Can anyone kindly provide a sourcecode for this? Thank you
Current script
Login Page-->Secure Page-->Hotmail-->Back-->Secure Page directly
What i require
Login Page-->Secure Page-->Hotmail-->Back-->Login Page-->Secure Page

I have a working script that checks for the right username and password before allowing entrance to a secure page.The only problem is that, if lets say i were to enter a diff url after entering the secure page and then later when i want to go back 2 that secure page, it should bring to the login page instead of going to the secure page directly.
Can anyone kindly provide a sourcecode for this? Thank you
Current script
Login Page-->Secure Page-->Hotmail-->Back-->Secure Page directly
What i require
Login Page-->Secure Page-->Hotmail-->Back-->Login Page-->Secure Page

