473,396 Members | 2,016 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,396 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 1915
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.