I am trying to use forms authentication in an application. I set the
authentication element as follows in the web.config file:
<authentication mode="Forms">
  <forms name="Auth"
         loginUrl="SignOn.aspx" protection="All" timeout="30"
slidingExpiration="true">
     <credentials passwordFormat="MD5">
        <user name="USER" password="8B1A9953C4611296JK54DJ47804D7"/>
     </credentials>
If the user successfuly authenticate, a cookie should be put on his
computer, which expires after 30 minutes.When I check the cookie
expiration date from inside the browser, I find it is the expected time
added to it 51 years!
For example if the cookie should expire on january 14 2004 at 10:00 pm,
I find the expiration date is 14 2055 at 10:00 pm
any help?

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to