I have to frequently re-login into the admin area. Sometimes i login, and want to view a page and after 5 seconds it asks me again to relogin again.
I have read the advice on viewtopic.php?f=42&t=6192
and increased the timeout sessions in the web.config but i still have to relogin way before that period is support to expire.
I have only one browser window, both IE and firefox act the same way. My site is hosted on discountasp.net
What is causing this timeouts because it is annoying.
The other side issue i have is when i first go the the site, for example index homepage, it takes a while for the site to load. It can take up to 45 seconds for the simple page to load. I know that page is not suppose to take that long to load on a browser. Once the page loads, all the rest of the pages load faster. I am thinking its a session issue. any suggestions?
Admin Re-Logging Issue
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Admin Re-Logging Issue
The page load speed would probably be because there isn't traffic and a .net website "goes to sleep" and it takes a few minutes to wake up.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Admin Re-Logging Issue
It could be some setting imposed by your hosting provider.I have to frequently re-login into the admin area. Sometimes i login, and want to view a page and after 5 seconds it asks me again to relogin again.
I have read the advice on viewtopic.php?f=42&t=6192
and increased the timeout sessions in the web.config but i still have to relogin way before that period is support to expire.
I have only one browser window, both IE and firefox act the same way. My site is hosted on discountasp.net
What is causing this timeouts because it is annoying.
Re: Admin Re-Logging Issue
Wow that would be horribly annoying.archeie wrote:What is causing this timeouts because it is annoying.
It has to be something with the hosting provider as none of this is the default behavior with AC7.
As far as the delay with the first hit, that's normal for ASP.Net websites that do not receive any traffic. The server is configured to compile and cache the compiled site for a specified period of time. Once this time expires, the next hit to the site will require a full recompile of the site. In the case of DiscountASP.Net, your recompile is fighting for server resources with a bunch of other .Net sites so it's going to take a while. Once you get the site going and it receives regular traffic, this should go away. Or setup a local ping utility to ping your site every 60 seconds and you shouldn't see that initial delay any more.
As for the login timeout, it sounds like DiscountASP.Net has a machine.config file configured that is overriding the web.config within your AC7 application. Post a support ticket to them explaining the problem and see what their response is.
Might also help to use the DiscountASP control to recycle your IIS - maybe their setup doesn't detect web.config changes and instead requires a manual IIS restart.
Whenever you make a web.config file change, the server should recompile the whole site so expect that big delay on the first hit after each web.config change.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Admin Re-Logging Issue
I had to add machine ID to my web.config that fixed it.
Re: Admin Re-Logging Issue
Could you explain what you mean by Machine ID? I am having the same issue and am also using discountasp.net
Thanks in advance
Thanks in advance
Re: Admin Re-Logging Issue
I edited the file web.config
add the machineKey (not id sorry)
add the machineKey (not id sorry)
viewtopic.php?f=42&t=7156&p=40159jmestep wrote:You can create one and put it into your web.config on your shared hoster. If you use an independent key like that, you can move the site from server to server without having a problem with it.
Go to this link: http://aspnetresources.com/tools/keycreator.aspx
Leave the defaults in place, validation key length 64, encryption key length 24, type sha1. Click Generate to create a random machine key for you and copy the result.
Now open the web.config file from your site. Find around line 33 where it shows:
<system.web>
And paste in the <machineKey ... /> on the next line. Save that file.