364,032 Members | 4401 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

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

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


bruce barker
P: n/a
bruce barker
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" <growNO-SPAM@go-intech.com> wrote in message
news:OEfygFXmDHA.1672@TK2MSFTNGP09.phx.gbl...[color=blue]
> I created a page which I am using to prevent the user from hitting the[/color]
BACK[color=blue]
> 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[/color]
page[color=blue]
> 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.[/color]
In[color=blue]
> the "BACK" button's history I don't see this "Auto Jump" page. Any ideas
> why?
>
> Thanks.
>
>[/color]


Nov 17 '05 #2

VB Programmer
P: n/a
VB Programmer
Could you provide an example? Thx!

"bruce barker" <nospam_brubar@safeco.com> wrote in message
news:OIX4M%23XmDHA.3700@TK2MSFTNGP11.phx.gbl...[color=blue]
> 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" <growNO-SPAM@go-intech.com> wrote in message
> news:OEfygFXmDHA.1672@TK2MSFTNGP09.phx.gbl...[color=green]
> > I created a page which I am using to prevent the user from hitting the[/color]
> BACK[color=green]
> > button. I'll call it my "Auto Jump" page. When it is called it[/color][/color]
basically[color=blue][color=green]
> > auto-redirects to a page specified in the QueryString. (We'll call the[/color]
> page[color=green]
> > 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[/color][/color]
you[color=blue][color=green]
> > 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.[/color]
> In[color=green]
> > the "BACK" button's history I don't see this "Auto Jump" page. Any[/color][/color]
ideas[color=blue][color=green]
> > why?
> >
> > Thanks.
> >
> >[/color]
>
>[/color]


Nov 17 '05 #3

Post your reply

Help answer this question



Didn't find the answer to your ASP.NET question?

You can also browse similar questions: ASP.NET