473,545 Members | 2,802 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weird Problem: Auto-Jump page doesn't show up in "BACK" history

I created a page which I am using to prevent the user from hitting the BACK
button. I'll call it my "Auto Jump" page. When it is called it basically
auto-redirects to a page specified in the QueryString. (We'll call the page
it goes to the "destinatio n page".) If the user hits BACK on the
destination page it should goto the "Auto Jump" page which should put you
right back to where you hit the button.

In Page_Load of this "Auto Jump" page I simply put
"response.redir ect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destinatio n Page" it goes to the page that called the "Auto Jump" page. In
the "BACK" button's history I don't see this "Auto Jump" page. Any ideas
why?

Thanks.
Nov 17 '05 #1
2 2043
the browser does not cache a redirect response. you need to render a page
with a meta tag, or client code that redirects.

-- bruce (sqlwork.com)


"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:OE******** ******@TK2MSFTN GP09.phx.gbl...
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically
auto-redirects to a page specified in the QueryString. (We'll call the page it goes to the "destinatio n page".) If the user hits BACK on the
destination page it should goto the "Auto Jump" page which should put you
right back to where you hit the button.

In Page_Load of this "Auto Jump" page I simply put
"response.redir ect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destinatio n Page" it goes to the page that called the "Auto Jump" page. In the "BACK" button's history I don't see this "Auto Jump" page. Any ideas
why?

Thanks.

Nov 17 '05 #2
Could you provide an example? Thx!

"bruce barker" <no***********@ safeco.com> wrote in message
news:OI******** ********@TK2MSF TNGP11.phx.gbl. ..
the browser does not cache a redirect response. you need to render a page
with a meta tag, or client code that redirects.

-- bruce (sqlwork.com)


"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:OE******** ******@TK2MSFTN GP09.phx.gbl...
I created a page which I am using to prevent the user from hitting the

BACK
button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the QueryString. (We'll call the

page
it goes to the "destinatio n page".) If the user hits BACK on the
destination page it should goto the "Auto Jump" page which should put you right back to where you hit the button.

In Page_Load of this "Auto Jump" page I simply put
"response.redir ect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destinatio n Page" it goes to the page that called the "Auto Jump" page.

In
the "BACK" button's history I don't see this "Auto Jump" page. Any ideas why?

Thanks.


Nov 17 '05 #3

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

Similar topics

4
3847
by: Larry Kahm | last post by:
Is there a PHP equivalent to the javascript statement history.go(-1)? Thanks! Larry
1
2236
by: porterboy | last post by:
Hi Folks, I have auto-completion set up in my python interpreter so that if I hit the tab key it will complete a variable or a python command*. eg. if I type >>> imp and if I then hit the tab key, the interpreter will complete it to... >>> import Now, I also use Matlab at the command line a lot and it has a nice
1
5175
by: Marco Dieckhoff | last post by:
Hi! I'm trying to use a combination of windows.print() followed directly by history.back(). The desired effect is to print the shown window and go back to that one before. I'm presenting a user a database result screen that's only generated to be printed.
72
5312
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools (dreamweaver and the like), they are all at the lowest level of programming (something like assembly as oposed to C++ etc.). These tools create...
4
5009
by: Dave Carroll | last post by:
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...
2
9842
by: Bart Van der Donck | last post by:
Hi, I have a directory with a file main.htm: <html><body> <p><iframe src=i.htm></iframe></p> <p><a href="javascript:history.back()">Back</a></p> </body></html> and a file i.htm:
3
2932
by: Olaf Rabbachin | last post by:
Hi *, ich erzeuge zur Laufzeit in einer ASP-Tabelle Tabellenzellen. Im Großteil dieser Zellen befinden sich Checkboxes. Per JS ändere ich beim Click auf eine solche Zelle oder deren Checkbox die Farbe der Zelle. Problem: Bei einem history.back (oder Back-Button am Client) gehen die Client-seitig geänderten Zellfarben verloren. Ich suche nun...
4
10095
by: Heinrich Wolf | last post by:
Hi all I have a history.back() problem with FF(2). IE works as expected, while FF does not. The multi frame website setup as a whole with a lot of frame content switching works flawlessly in both browsers. In one situation and frame I have a long scrollable list of cars offered for sale. Some list lines are linked to a separate page with...
0
1523
by: lemnitzer | last post by:
Full Article: http://iamthewitness.com/FreedmanFactsAreFacts.html <-------- KEY DOCUMENT Steamy Excerpts: Will you be patient with me while I review here as briefly as I can the history of that political emergence and disappearance of a nation from the pages of history?
0
7499
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7432
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7689
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7943
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7456
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7786
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.