473,395 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Expiring the Page To discourage Browser BACK button

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

Nov 16 '05 #1
3 1914
Try this

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

"Nithi Gurusamy" <ni****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 16 '05 #2
In Addition to that you can also do the same programatically on page load

CJ Taylor wrote:
Try this

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

"Nithi Gurusamy" <ni****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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



--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com
Nov 16 '05 #3
Nothing works! I feel earlier ASP version handled it better! I am wondering
whether this problem just happened only to me.

"Dilip Krishnan" <dilipdotnet..NOSPAM..@apdiya.com> wrote in message
news:uq****************@tk2msftngp13.phx.gbl...
In Addition to that you can also do the same programatically on page load

CJ Taylor wrote:
Try this

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

"Nithi Gurusamy" <ni****@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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



--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nithi Gurusamy | last post by:
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...
3
by: Nithi Gurusamy | last post by:
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...
4
by: Nithi Gurusamy | last post by:
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...
5
by: Nithi Gurusamy | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.