Re: how to time out the web asp.net application when not in use for 15 minutes

From: Ekta Agarwal (enahar_at_hotmail.com)
Date: 02/18/05


Date: Thu, 17 Feb 2005 15:54:00 -0800

Hi

If I use the sliding Expiration in the code(web.config) as follows:

<authentication mode="Forms" >

<forms loginUrl="Security/Login.aspx" protection="All" slidingExpiration
="true" timeout="15" path="/" />

</authentication>

I am getting the following error message:

Parser Error Message: Unrecognized attribute 'slidingExpiration'.

Source Error:

Line 31: -->
Line 32: <authentication mode="Forms" >
Line 33: <forms loginUrl="Security/Login.aspx" protection="All"
slidingExpiration ="true" timeout="15" path="/" />
Line 34: </authentication>
Line 35:
 

How and where do I use the SlidingExpiration attribute.

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Quantcast