How to set Session Timeout for a particular page.

Posted by Santhi under ASP.NET on 11/1/2012 | Points: 10 | Views : 3258 | Status : [Member] | Replies : 1
Hi,

How to set a session timeout for a particular page?.
I am processing a page based on the session in an application.
It takes more than 30 minutes to complete the process.
Session expires after 20 minutes.
I need to increase my session time for that particular page alone not for the whole application.
If i set the session timeout value as 40 or something.
It changes the session timeout for the whole application.
I dont need that.
I need to increase my session time for that particular page alone not for the whole application.



Regards,
V. Santhi.

Thanks & Regards,
Santhi .V



Responses

Posted by: Saratvaddilli on: 11/1/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
in web.config file
<location path="yourpage.aspx">

<system.web>
<httpRuntime executionTimeout="1800"/>
</system.web>
</location>


Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

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

Login to post response