logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
jeffr_ca  
#1 Posted : Thursday, June 4, 2020 9:11:50 PM(UTC)
jeffr_ca

Rank: Advanced Member

Groups: Authorized User, Developers, Registered, HelpDesk
Joined: 1/7/2019(UTC)
Posts: 112

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Can you provide details on how to increase the auto logout period for Administrators on AC9?

Thanks!

-Jeff

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

mazhar  
#2 Posted : Friday, June 5, 2020 3:41:24 AM(UTC)
mazhar

Rank: Administration

Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered
Joined: 10/5/2018(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 17 time(s) in 15 post(s)
Edit your /web.config file and locate timeout="15" instances in it. There will be two locations and you should update 15 to a higher number say 60 for an hour. This number represents timeout in minutes. This will increase timeout for all users and not just admins.

Edited by user Friday, June 5, 2020 3:42:35 AM(UTC)  | Reason: Not specified

jeffr_ca  
#3 Posted : Friday, June 5, 2020 9:12:37 AM(UTC)
jeffr_ca

Rank: Advanced Member

Groups: Authorized User, Developers, Registered, HelpDesk
Joined: 1/7/2019(UTC)
Posts: 112

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Thanks Mazhar...that's what we had recalled from our AC 7 system, but changing the values don't seem to have any effect. Does it matter that we're running in DEMO mode at the moment?

-Jeff
Naveed Ashraf  
#4 Posted : Friday, June 5, 2020 10:02:42 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Please try updating the timeout value in the both locations in web.config

Quote:
<authentication mode="Forms">
<forms slidingExpiration="true" name="AC9.ASPXAUTH" loginUrl="~/Login" defaultUrl="~/default" timeout="15"/>
</authentication>
<sessionState mode="InProc" cookieName="AC9.SESSIONID" timeout="15"/>



It should work. What value you are using?
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
jeffr_ca  
#5 Posted : Friday, June 5, 2020 10:08:27 AM(UTC)
jeffr_ca

Rank: Advanced Member

Groups: Authorized User, Developers, Registered, HelpDesk
Joined: 1/7/2019(UTC)
Posts: 112

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Hi, trying to use 60 minutes.

Quote:
<system.web>
<customErrors mode="Off" defaultRedirect="~/Errors/Error" redirectMode="ResponseRewrite">
<error statusCode="404" redirect="~/Errors/PageNotFound"/>
<error statusCode="500" redirect="~/Errors/Error"/>
</customErrors>
<trace enabled="false" requestLimit="100" pageOutput="false" localOnly="true" mostRecent="true"/>
<compilation debug="true" targetFramework="4.6.2"/>
<httpRuntime targetFramework="4.6.2" maxRequestLength="20480"/>
<authentication mode="Forms">
<forms slidingExpiration="true" name="AC9.ASPXAUTH" loginUrl="~/Login" defaultUrl="~/default" timeout="60"/>
</authentication>
<sessionState mode="InProc" cookieName="AC9.SESSIONID" timeout="60"/>
<membership defaultProvider="AbleCommerceMembershipProvider">
<providers>
<clear/>
<add name="AbleCommerceMembershipProvider" connectionStringName="AbleCommerce" applicationName="/" type="CommerceBuilder.Users.AbleCommerceMembershipProvider"/>
</providers>
</membership>
<profile enabled="false"/>
<roleManager enabled="true" defaultProvider="AbleCommerceRoleProvider">
<providers>
Naveed Ashraf  
#6 Posted : Tuesday, June 9, 2020 7:43:28 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Hi Jeff,

The web.config settings you posted seems good. Not sure why its not working!.

Last thing you should check your IIS Application Pool’s idle timeout. If there is sole user browsing your site (in development sites) and user idle time exceeds the application pool idle time, you might again see an unexpected behavior. So ensure application pool idle timeout too matches your session timeout.

IIS config
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
jeffr_ca  
#7 Posted : Tuesday, June 9, 2020 8:28:17 PM(UTC)
jeffr_ca

Rank: Advanced Member

Groups: Authorized User, Developers, Registered, HelpDesk
Joined: 1/7/2019(UTC)
Posts: 112

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Hi Naveed,

Yes, you are correct about the IIS APP Pool Timeout. I asked our hosting provider to increase the time and the settings in web.config are now taking precedence and working much better. As you noted because it is a development site, there is minimal traffic.

Thanks very much for your insight on this.

-Jeff

Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.