Is there a way to extend the ASP class session every time an ASP.NET request is made?
I have a website that is running both classic ASP and ASP.NET Webforms. The sessions are separate for each.
I need to hit an asp page whenever a request is made in ASP.NET pages.
Why? As I need to expand my ASP session so it doesn't expire.
I know this will cause a number of problems, and I really don't want to, but the solution is not in my hands unfortunately.
Is there a way to accomplish what I am trying to do?
source to share
Do you have a link to the ASP script file to do anything in the ASPX page? Or look at something like this .
Refresh - as you say, you don't have master pages or something. You can use HttpModule to inject additional HTML required to request a classic ASP page. See here for an article on how to do this , or see the code for it . Making one for your needs won't be difficult. Find where you want to paste it and add additional HTML.
source to share