469,593 Members | 1,927 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,593 developers. It's quick & easy.

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 "destination 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.redirect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destination 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 1858
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**************@TK2MSFTNGP09.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 "destination 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.redirect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destination 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****************@TK2MSFTNGP11.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**************@TK2MSFTNGP09.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 "destination 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.redirect(xxx.aspx)".

The redirect works fine! But, when I click the BACK button from the
"Destination 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Larry Kahm | last post: by
1 post views Thread by porterboy | last post: by
1 post views Thread by Marco Dieckhoff | last post: by
4 posts views Thread by Dave Carroll | last post: by
2 posts views Thread by Bart Van der Donck | last post: by
3 posts views Thread by Olaf Rabbachin | last post: by
4 posts views Thread by Heinrich Wolf | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.