|
-
Dec 6th, 2000, 11:35 AM
#1
Thread Starter
Junior Member
Hi,
I want to disabled the Back button from one page in particular (logoff page).
I don't want to let the client come back to the site without a username or a password.
-
Dec 6th, 2000, 10:10 PM
#2
Frenzied Member
I had the same problem, i pretty sure you can't, i search
a lot for it!
solution:
put your logoff in a new window and close your previous,
that way their will be no turning back!!!
-
Dec 7th, 2000, 03:40 AM
#3
Frenzied Member
two things you could do here.
Make the log in set a session variable.
Make the log off the destoy the session object.
have code at the top of each page checking for the Session variable and redirect to a login page if it isn't set.
another option is to have a page which redirects to the logoff page
so a link to log off loads another page which then loads the logoff page. That way a click on the Back button will reload the middle page and redirect back to the log off page.
Have I explained this ok?
-
Dec 7th, 2000, 10:27 AM
#4
Frenzied Member
That ^^^ is the solution. Don't ever disable the back button. Your users will HATE you for it.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Dec 7th, 2000, 10:44 AM
#5
Hyperactive Member
Here is a helpful article about disabling the back button:
http://www.4guysfromrolla.com/webtech/111500-1.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|