473,405 Members | 2,272 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,405 software developers and data experts.

Block the history

Hi,
What can I do to block or erase the history of the Internet Explorer when a
user navigates in my ASP .NET 1.1 application?, I don't want that the user be
able to return to a previous page.

thnks.

--
__________________
L.I. Luis Graillet Ramos
May 25 '06 #1
4 1082
Turn off cacheing for those pages.

"gralet" <gr****@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com...
Hi,
What can I do to block or erase the history of the Internet Explorer when
a
user navigates in my ASP .NET 1.1 application?, I don't want that the user
be
able to return to a previous page.

thnks.

--
__________________
L.I. Luis Graillet Ramos

May 26 '06 #2
Ok, but how can I turn off cacheing? Actually, I'm not using cacheing for
those pages.
--
__________________
Luis Graillet Ramos
"DownWithBugs" wrote:
Turn off cacheing for those pages.

"gralet" <gr****@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com...
Hi,
What can I do to block or erase the history of the Internet Explorer when
a
user navigates in my ASP .NET 1.1 application?, I don't want that the user
be
able to return to a previous page.

thnks.

--
__________________
L.I. Luis Graillet Ramos


May 26 '06 #3
> Hi,
What can I do to block or erase the history of the Internet Explorer when a
user navigates in my ASP .NET 1.1 application?, I don't want that the user be
able to return to a previous page.

thnks.


What we have done (in 1 app): put some javascript in every page:
window.history.forward(1);

if there is nothing to forward to, this will not complain. However, if
the user used any form of "back button", he would immediatly be bounced
forward.

Hans Kesting
May 26 '06 #4
kpg
As =?Utf-8?B?Z3JhbGV0?= once said in
microsoft.public.dotnet.framework.aspnet
Ok, but how can I turn off cacheing? Actually, I'm not using cacheing
for those pages.


He means browser cacheing.

I use this in page load:

response.Expires = 0
response.Cache.SetNoStore()
response.AppendHeader("Pragma", "no-cache")

Also, I maintain session variables that hold the valid
navigate_to page, the current_page, and an allow_to_navigate
flag. When a page is loaded, I check if they are allowed
to navigate, and if so, if this is the page they are allowed
to naviage to. If not I redirect the user back to the "current"
page.

This scheme ensures that the user can not get to a page out
of sequence, or directly by typing a url, or pressing the back
button.

kpg
May 26 '06 #5

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

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
15
by: Ashot | last post by:
This is sort of both Python and Vim related (which is why I've posted to both newsgroups). Python related: ---------------------- I have been frustrated for quite some time with a lack of a...
14
by: laurence | last post by:
I am implementing a comprehensive image-map generator utility, so have been studying W3C HTML 4.01 Specification (http://www.w3.org/TR/html4/struct/objects.html#h-13.6) on image maps (among other...
1
by: Özgür Aytekin | last post by:
Hello NG Is DAAB 3.1 the offical replacement of Microsoft Data Access Application Block 2.0? DAAB 3.1 download:...
5
by: Steve Crawford | last post by:
This morning I got bitten by the "SELECT INTO" / "CREATE TABLE AS" from tables without OIDs bug in 7.4.1. Postmaster killed all the backends and restarted - pg was down for 2 seconds. This...
20
by: Dan | last post by:
Is there a way to obtain the last page visited? I don't want to go to that page, I just want to be able find out what page they came from, the url of that page. Is this possible?
25
by: Dave | last post by:
Hello. In trying to get an anchor element to stylistically match an input or button element, I find that the button and input cannot be styled according to the 2.1 CSS spec. For example, I...
12
by: reycri | last post by:
While the following is allowed: if (a == b) SomeFunction(); else OtherFunction(); The following is not: try
2
by: Max | last post by:
I recently moved to ASPnet Ext 3.5 What I can't get with Ajax and History browser managemet is this: User fills some fields (dropdown and textbox) on page 1 (all are in an update panel) User...
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:
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
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
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
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.