an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > DotShoppingCart Suite > Remember me next time forgets.
Last Post 2/1/2011 7:45:06 AM By lukezy. 3 replies.
10/16/2008 9:07:36 AM
Linden
Posts: 32
Joined: 3/19/2008
Remember me next time forgets.
I'd like to increase timeout on the user login cookie so that he "remember me next time." lasts for longer than the 30 minute default. I've modified my forms tag in the authentication section of Web.config as follows but it doesn't seem to make a difference. I've made this change successfully on other ASP.NET web sites but I'm having trouble getting it to work in DSC. Anybody have any ideas?
 
<forms name=".ASD" loginUrl="login.aspx" cookieless="AutoDetect" protection="All" timeout="525600" path="/" />
 
Thanks,
Linden
10/16/2008 9:30:57 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Remember me next time forgets.
This is what I am using for www.dotshoppingcart.com and it works just fine.
 
        <authentication mode="Forms">
            <forms name=".ASPNET" loginUrl="login.aspx" cookieless="UseCookies" protection="All" timeout="20160" path="/"/>
        </authentication>
DotShoppingCart Staff
2/1/2011 1:15:21 AM
malshini
Posts: 29
Joined: 11/9/2010
Re: Remember me next time forgets.
timeout="20160" please let me know the time unit in which this is defined.
 
How can i increase the timeout (more than 30 minutes) only for admin users?
 
2/1/2011 7:45:06 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Remember me next time forgets.
It's minute. You should search MSDN. Here is the link.
DotShoppingCart Staff