472,356 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,356 software developers and data experts.

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 1973
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Larry Kahm | last post by:
Is there a PHP equivalent to the javascript statement history.go(-1)? Thanks! Larry
1
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...
1
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...
72
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...
4
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...
2
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
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...
4
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...
0
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...

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.