By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.