how to check session end and update table

Posted by Oswaldlily under ASP.NET on 3/19/2015 | Points: 10 | Views : 383 | Status : [Member] | Replies : 1
If I dint touch the page For 1 minute ,session shd get expire and I need to update the table.where shd I call function for updating this table.My web config looks like below. <session state mode="inproc" timeout="60">




Responses

Posted by: Sheonarayan on: 3/19/2015 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
You can call the table in Session_End(object sender, EventArgs e) in the global.asax.cs page.

However, this will work only when the session management is InProc.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response