Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo
Expiring the Page To discourage Browser BACK button (Saturday, August 28, 2004)
 

Found the following interesting discussion in the Newsgroups:

Expiring the Page To discourage Browser BACK button
by:Nithi Gurusamy

Hello All:

On the click of the back button, I just want the user to see "Warning: Page Expired...". I just couldn't do it in .NET. I am not sure what I am missing. I tried everything said in the Page.Response.Cache class. Even tried the traditional way of doing things in the previous ASP versions. Nothing works.

This is a local website running in a Windows 2000 Server machine. I'm Accessing the website using http:\\localhost\mysite.

Any suggesions?

Thanks,
Nithi Gurusamy


 Reply:
by:CJ Taylor

 Try this

http://www.15seconds.com/issue/010202.htm


 Reply:
by:Dilip Krishnan

 In Addition to that you can also do the same programatically on page load
--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com


 Reply:
by:Nithi Gurusamy

 Nothing works! I feel earlier ASP version handled it better! I am wondering whether this problem just happened only to me.



Posted by Xander Zelders



 
Previous Posts
    - How to use a treeview control
    - Clipboard in console application
    - How to manage a listbox from javascript
    - Deploying MSDE with VB.net
    - Remove a line from a text file
    - Remove the last line in a text file
    - How to launch a .doc or .exe file with VB.NET
    - How to send a file with VB.NET
    - How to add handle at runtime to comboboxes
    - Calling VB.Net Class File from Delphi

Archives
    - 08/01/2004 - 08/08/2004
    - 08/08/2004 - 08/15/2004
    - 08/15/2004 - 08/22/2004
    - 08/22/2004 - 08/29/2004
    - 08/29/2004 - 09/05/2004
    - 09/05/2004 - 09/12/2004
    - 09/12/2004 - 09/19/2004
    - 09/19/2004 - 09/26/2004
    - 09/26/2004 - 10/03/2004
    - 10/03/2004 - 10/10/2004
    - 01/02/2005 - 01/09/2005
    - 01/09/2005 - 01/16/2005
    - 01/30/2005 - 02/06/2005
    - 01/01/2006 - 01/08/2006


Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland