Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://701582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found