Answered
Session is lost. Happens to 1 user, only. (MX 6.1)
We have many external users that use our Coldfusion MX 6.1
application daily, but to date there is only one user that appears
to lose their session variables almost every time that they click
on a button that opens a new window and displays a document in PDF
format.
This user has Windows XP with Service Pack 2 and is using Internet Explorer (I think version 6). Her Internet Options for Security and Privacy match up with my settings (default values).
The block of code below is where I think her session variables are lost: (She never sees the PDF come up. Instead she is bounced out of our application and back to our login page with a message that says that her session has time out)
<body>
<cfheader name="content-disposition" value="inline;
filename=#GetFileFromPath(SESSION.PDFFileName)#"> <!--- Use cfheader so that file name shows correctly if user doesn't have Acrobat Reader --->
<!--- The cfcontent statement does the actual display of the PDF file --->
<cfcontent type="application/pdf" file="#SESSION.PDFFileName#" DELETEFILE="No"> <!--- Don't use DELETEFILE="Yes". For some agents it deletes files too quickly. --->
</body>
Please let me know if you have any suggestions as to how I can fix this problem.
Thank you!
This user has Windows XP with Service Pack 2 and is using Internet Explorer (I think version 6). Her Internet Options for Security and Privacy match up with my settings (default values).
The block of code below is where I think her session variables are lost: (She never sees the PDF come up. Instead she is bounced out of our application and back to our login page with a message that says that her session has time out)
<body>
<cfheader name="content-disposition" value="inline;
filename=#GetFileFromPath(SESSION.PDFFileName)#"> <!--- Use cfheader so that file name shows correctly if user doesn't have Acrobat Reader --->
<!--- The cfcontent statement does the actual display of the PDF file --->
<cfcontent type="application/pdf" file="#SESSION.PDFFileName#" DELETEFILE="No"> <!--- Don't use DELETEFILE="Yes". For some agents it deletes files too quickly. --->
</body>
Please let me know if you have any suggestions as to how I can fix this problem.
Thank you!