Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2005, 07:47 AM
Registered User
 
Join Date: Jan 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to cyber_kaley
Default Log out disable back button

Who can help me about log out link that when you click the back button that not return to previous page how can i solution that pls help thankssss

caley
 
Old January 18th, 2005, 04:23 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Please check the following links:

http://www.4guysfromrolla.com/webtech/111500-1.shtml
http://forums.aspfree.com/t16327/s.html

Om Prakash
 
Old January 20th, 2005, 08:46 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

You can do this in javascript by using
history.go() to the current page..

 
Old January 20th, 2005, 11:59 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Normally we would use history.forward() or location.replace(). Still what ever method we use there isn't any clear way by which we can disable the back button.

Let us assume that we are using history.go() or history.forward() or someother javascript code to achieve this. What if the user disables javascript in their browser and work?

I would suggest you to go for a mixture of some server side & client side logic. The bottom line is we can't disable the back button altogether ... we can only make it difficult for the user :)

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old January 21st, 2005, 12:35 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sureshbabu Send a message via Yahoo to sureshbabu
Default

Hi,
   In Body onload use "history.forword(1)". Then it wont allow user to go back.
Thanks
Suresh






Similar Threads
Thread Thread Starter Forum Replies Last Post
disable the back button of my MSIE Browser. Magen Classic ASP Basics 2 January 24th, 2007 04:49 PM
How to disable back button of IE? Edward King Javascript 0 November 8th, 2004 02:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.