Merchant side logs me out too often

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Merchant side logs me out too often

Post by ZLA » Mon Jun 15, 2009 8:13 pm

With my test site (hosted by DiscountASP.Net), there are times when it will require me to login for several page requests in a row within just a few minutes. I know the timeout should be around 20 minutes by default. It usually happens if I'm switching back and forth between different admin pages. Say from catalog to product detail to product templates, etc.

Is there anything in particular that would cause the site to toss the session and require me to log back in so quickly?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Merchant side logs me out too often

Post by mazhar » Tue Jun 16, 2009 4:53 am

It could be some restriction forced by your host.

William M
Commander (CMDR)
Commander (CMDR)
Posts: 150
Joined: Sat Feb 14, 2009 9:40 am
Contact:

Re: Merchant side logs me out too often

Post by William M » Tue Jun 16, 2009 5:32 am

This worked for me: (I don't know if this is an answer to your problem though)

In web.config:

Code:

<authentication mode="Forms">
<forms timeout="1440" slidingExpiration="true" name="AC7.ASPXAUTH" />
</authentication>


and stay logged in all day.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Merchant side logs me out too often

Post by ZLA » Tue Jun 16, 2009 7:31 am

Thank you both. Willem, I don't have a problem with a normal 20 minute (or perhaps up to an hour) timeout since I don't want to use up all the system memory with abandoned sessions. The problem is that occasionally, the timeout is less than a minute. I'll have to continue watching and see if I can determine a pattern.

Post Reply