Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: (OT) Have to press BACK button twice in IE to get back from an HTML page to a PDF!

by marcussen (Pilgrim)
on Aug 01, 2008 at 04:29 UTC ( #701582=note: print w/ replies, xml ) Need Help??


in reply to (OT) Have to press BACK button twice in IE to get back from an HTML page to a PDF!

Usually when I experienced that behavior from IE there would be a redirect involved. So link in PDF takes you to intermittent location which then redirects to the final location. This may or may not be the case here.

Additionally it is hard to rule out environmental factors, such as which pdf reader do you use, what version of ie, pdfreader, etc. Do you have proxies, do they strip or add headers to your requests. Do you have spyware that could be hijacking links, do you have kill bits set for activex objects or javascript in pdfs, etc. If you can ensure us that it is reproducible behavior it might be easier to check using some inspection tools (such as etheral or something similar).

Confucius says kill mosquito unless cannon


Comment on Re: (OT) Have to press BACK button twice in IE to get back from an HTML page to a PDF!
Re^2: (OT) Have to press BACK button twice in IE to get back from an HTML page to a PDF!
by lukeyboy1 (Beadle) on Aug 01, 2008 at 10:55 UTC
    I typically cover this by actually opening the PDF in a new window. You can use JavaScript to do this, and have a noscript tag to cover the case where the user has javascript disabled (for accessibility). TIP: Use "target='_blank'" in your link, and it'll open in a new window.....
    -- $world =~ s/war/peace/ig;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://701582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-08-31 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls