iSeries VL Web Session expiring after downloading file
Posted: Fri May 17, 2024 8:42 pm
Hi All,
Has anyone had issues with sessions expiring after downloading a document from an iSeries using VL Web?
We're using VL150040, iSeries V7R5M0 and our routine looks something like this (we have others similar):
Srvroutine Name(GetPDFFile) Response(*RESOURCE #Response)
Field_Map For(*INPUT) Field(#pdfGenPath) Parameter_Name(pdfPath)
Field_Map For(*INPUT) Field(#pdfName) Parameter_Name(pdfName)
Field_Map For(*INPUT) Field(#UserWebID) Parameter_Name(User)
#Response.ContentFile := #pdfGenPath.trim + #pdfName.Trim
#Response.AttachmentFileName := #pdfName.Trim
#Response.ContentType := "application/pdf"
Endroutine
After running this code, when we try to reach other parts of the application, our session has "expired"!
Anyone experienced something like this?
Has anyone had issues with sessions expiring after downloading a document from an iSeries using VL Web?
We're using VL150040, iSeries V7R5M0 and our routine looks something like this (we have others similar):
Srvroutine Name(GetPDFFile) Response(*RESOURCE #Response)
Field_Map For(*INPUT) Field(#pdfGenPath) Parameter_Name(pdfPath)
Field_Map For(*INPUT) Field(#pdfName) Parameter_Name(pdfName)
Field_Map For(*INPUT) Field(#UserWebID) Parameter_Name(User)
#Response.ContentFile := #pdfGenPath.trim + #pdfName.Trim
#Response.AttachmentFileName := #pdfName.Trim
#Response.ContentType := "application/pdf"
Endroutine
After running this code, when we try to reach other parts of the application, our session has "expired"!
Anyone experienced something like this?