Thanks very much for answering may cry for help paulteg with the possible solution below to my earlier question regarding this topic. I should have been more specific. I know that now but that was my first thread post. Sorry 
Anyway the line of code paul gave me works fine but...
I want to have a menu item link that once clicked on by the user fires a perl script that does a couple of things.
1. uses the user logon to extract a specific pdf file. (I can do that)
2. Then displayes that pdf in the web browser without any further prompt from the user. (I can't do that)
If I use the line of code below to do part two of my script it requires the user to click again. This time on the link >Your PDF<.
print "<a href=\"pdfs/user0001.pdf">Your PDF</a>\n";
Does that make sense??
Anyway the line of code paul gave me works fine but...
I want to have a menu item link that once clicked on by the user fires a perl script that does a couple of things.
1. uses the user logon to extract a specific pdf file. (I can do that)
2. Then displayes that pdf in the web browser without any further prompt from the user. (I can't do that)
If I use the line of code below to do part two of my script it requires the user to click again. This time on the link >Your PDF<.
print "<a href=\"pdfs/user0001.pdf">Your PDF</a>\n";
Does that make sense??