简体   繁体   中英

Session time out in classic asp

I have used this code in gobal.asa file in classic asp application.

<script language="VBScript" runat="Server">
    Sub Session_OnStart
        Session.Timeout = 60
    End Sub
</script>

But this is not working for more than 20 mins.

Any one have solution for this?

You can configure the timeout for the IIS webservice instead, that might work.

http://technet.microsoft.com/en-us/library/cc725820%28v=ws.10%29.aspx

You might want to check the "Idle Time-out (minutes)" setting of the application pool associated to your application/site. Once the application pool gets recycled, your session will die.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM