Click to See Complete Forum and Search --> : logout script??


cakeday
07-15-2003, 04:15 PM
Does anyone have a logout script??

I have an html page and what i want to give the users is a logout link, when they click on that link it should redirect them to a certain page but then when they click on the back button, it should not take them back to the same page that they were logged into earlier..

Does anyone have the code for that..

Thank you!!

brendandonhue
07-15-2003, 04:17 PM
To log someone out, you must do the opposite of the procedure used to log them in.
What was the login procedure? How is the page checking whether or not the user is logged in? Cookies?

cakeday
07-15-2003, 04:30 PM
What i am using right now is a standard ORACLE login page.. which needs to change at somepoint..

So can we start with the login procedure? would you happen to have a login procedure?

thank you!

brendandonhue
07-15-2003, 04:34 PM
You can't log out a user that is not yet logged in. That is like parking a car that is already parked.

JavaScript is not the best language for full blown logins/password protections (jeff mott might come in and show you his method though).
Here are some javascript login scripts.
http://javascript.internet.com/passwords/