Hi,
I use a script that requires everyone to login in prior to downloading any product information (PDF files) The script works fine in NS, however in IE it does not work on logging in.
The following is done on logging in:
- setting of two cookies (username, password)
- load the PDF file using the following code:
Though Acrobat Reader is started, only a white page is shown in IE.
If further links to PDF files are clicked, the same code is used to open them, yet no cookies are set.
In these cases the script works fine.
So, I suppose that the setting of the cookies might be the problem here.
The script uses a very old cookie library from worldwidemart.com (last modified 12/23/96).
Does anyone have a solution, so that the first PDF file is loaded correctly as well?
I use a script that requires everyone to login in prior to downloading any product information (PDF files) The script works fine in NS, however in IE it does not work on logging in.
The following is done on logging in:
- setting of two cookies (username, password)
- load the PDF file using the following code:
Code:
print "Location: http://www.my-site.com/eng/$in{'dname'}/pdf/$in{'fname'}\n\n";Though Acrobat Reader is started, only a white page is shown in IE.
If further links to PDF files are clicked, the same code is used to open them, yet no cookies are set.
In these cases the script works fine.
So, I suppose that the setting of the cookies might be the problem here.
The script uses a very old cookie library from worldwidemart.com (last modified 12/23/96).
Does anyone have a solution, so that the first PDF file is loaded correctly as well?