I have a web application which generates pdf documents and opens them on another tab. This works fine but after generating one or two pdf files successfully, on trying to generate another, session expires and am redirected to my login page. Please could possibly be the cause and what solution is there. The application works perfectly on my localhost but when on a server, these issues come up..
please help
That doesn't sound like a pdf-related issue. Check your Session expiration settings in your web.config.
<configuration>
<system.web>
<sessionState timeout="30" />
</system.web>
</configuration>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.