473,395 Members | 1,471 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.

browser history - back button.

We are developing a secure site. One a user logs off of the site we do not want them to have the ability to hit the back button and display the secure pages on the site. We started to look at using server.transfers rather than response.redirects to navigate the users through the site. The problem we are running into is browser history entries are created with a form's postback. How do we get arround this problem

Thanks in advance for your help
-Dave
Nov 18 '05 #1
4 5008
the best you can do is expire the pages, so the browser will rerequest them
(unless the user turns this off).

-- bruce (sqlwork.com)
"Dave Carroll" <an*******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
We are developing a secure site. One a user logs off of the site we do not want them to have the ability to hit the back button and display the
secure pages on the site. We started to look at using server.transfers
rather than response.redirects to navigate the users through the site. The
problem we are running into is browser history entries are created with a
form's postback. How do we get arround this problem?
Thanks in advance for your help.
-Dave

Nov 18 '05 #2
PS
Overwrite nav history:

location.replace("logout.aspx");

"Dave Carroll" <an*******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
We are developing a secure site. One a user logs off of the site we do not want them to have the ability to hit the back button and display the
secure pages on the site. We started to look at using server.transfers
rather than response.redirects to navigate the users through the site. The
problem we are running into is browser history entries are created with a
form's postback. How do we get arround this problem?
Thanks in advance for your help.
-Dave

Nov 18 '05 #3
Dave Carroll wrote:
We are developing a secure site. One a user logs off of the site we
do not want them to have the ability to hit the back button and
display the secure pages on the site. We started to look at using
server.transfers rather than response.redirects to navigate the users
through the site. The problem we are running into is browser
history entries are created with a form's postback. How do we get
arround this problem?


Make your pages non-cacheable by setting appropriate Cache-Control headers.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #4
Dave Carroll wrote:
We are developing a secure site. One a user logs off of the site we
do not want them to have the ability to hit the back button and
display the secure pages on the site. We started to look at using
server.transfers rather than response.redirects to navigate the users
through the site. The problem we are running into is browser
history entries are created with a form's postback. How do we get
arround this problem?


Make your pages non-cacheable by setting appropriate Cache-Control headers.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #5

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

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
9
by: jcnews | last post by:
When designing a webpage, is there a way to disable the back button? It must be possible. I am asking because there are certain web applications that I have used that require the user to...
2
by: Michael G | last post by:
Can the browser back button or browser caching be turned on or off via php? Thanks, Mike ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----...
3
by: Michelle A. | last post by:
What is the difference between the two? I have a page "one" with a button using Response.Redirect("pagetwo.asxp") to go to the next page. On page two I have a button using...
3
by: Rob | last post by:
Each time a webform is posted back (submitted), another URL is added to the browser's history list. My web application allows a back button to return to previously visited pages, but I do not wish...
6
by: David | last post by:
A user logs into a web site. He is then redirected to a web page of his choosing - based on menu options - for example: "WeeklyReport.aspx" is a page the user is currently viewing If the user...
3
by: Shimon Sim | last post by:
Hi Is it possible to make sure that the page doesn't show in browser history and won't effect Back button. The problem is that every postback shows as another entry for "Back" button and user...
5
by: ns21 | last post by:
How can the browser back button be disabled If the form is submitting information to other pages or submitting to itself or using redirections. I tried the tweaks like history.forward(1) in each...
0
by: toeffetommy | last post by:
Hello, I need a piece of functionality developed for our Website and I need some technical advice on how get there. Essentially, what I want to develop is a browser-within-browser...
1
by: Randy | last post by:
I have an application with a datagrid and a button to export the grid to excel. For the most part this is working fine. Here's the export method: Private Sub btnExcel_Click(ByVal sender As...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.