Hello - I'm having a problem where users are randomly "logged out" for no apparent reason. They are able to log in, make updates or changes where needed - and then, sometimes, are simply "kicked out" of my site. The log outs come without warning, are random, there seems to be no pattern. I'm using ASPNET membership. Any ideas? Thanks.
I'm having this exact same issue. I even switched from InProc session state to SQL Session state thinking I was overloading it somehow and getting my app pool recycled. Any reason this is happening?
Your app pool can recycle due to memory or CPU use in excess of the quotas for your site. The memory limit is different depending which plan your site uses. CPU usage is 70% for 5 minutes. That will recycle your app pool.
Also having same issue I'm also having the same issue, I switched from InProc to SQL and was told that even if the app pool was recycled that if you used SQL sessions the session wouldn't be dropped. I understand this isn't the case for a timeout for inactivity, which is what my log is showing even though my user wasn't even logged in for 20 minutes when they got booted out. Is there anything I can look for that would cause it to log as an inactivity when it's actually not the case?
Ive got exact same problem. If user just login, and leave everything as it is after login, he wont be disconected for 50 min. but if user creates a folder o ftp, user will get logged out in 3 min or so. Any Solution? or do i need to change HostPlace?
This seems like you are losing your sessions when the application pool is recycled. Our server will recycle your application pool automatically if you reach one of the conditions mentioned below. We host each website in its unique application pool/process. To ensure server stability we recycle the application if any of the following conditions are met: 1) More than 20 minutes of idle time (no HTTP request in 20 minutes) 2) The application uses more than 100 MB of memory for the Basic plan and 200 MB of memory for the Max and 300 MB of memory for the Ultimate plan. 3) The application uses more than 70% of CPU resources for more than 5 minutes This means that you need to enable SQL Server sessions in order to keep your session from getting lost. Read our knowledge base article on How to enable ASP.NET SQL Server Session on your web application
Yet another one Related recent posts, yet unsolved And so many people having session related issues http://forum.Winhost.com/showthread.php?t=9659 http://forum.Winhost.com/showthread.php?t=9660 http://forum.Winhost.com/showthread.php?t=9681 Good luck with solving your problem and please share your solution if you find one
do we be able to use sql server session in basic plan ? because we only have 1 db in basic plan. cant afford to upgrade to higher plan due to limitation in our non profit organization bussiness. please advise, tks
for sql session check out http://support.Winhost.com/KB/a626/how-to-enable-aspnet-sql-server-session-on-your-web.aspx
says : •While not required, we recommend adding a new MS SQL database in the Site Tools section of Control Panel, dedicated for sessions storage only, to avoid potential conflicts (Winhost Basic customers will have to upgrade to Winhost Max to add a second database) ----------------- means : we still can do sql session with 1 DB ? tks
latest update : 1. submitted the ticket to configured sql session (current plan : basic plan = 1 DB) 2. got email reply, configuration done 3.set the code in web.config as instructed 4. uploaded all codes, wait around 30 mnt 5. test : all done : SESSION NOT LOST anymore (at this stage ;-) conclusion : yes, it can be done with basic plan. confliction : not occur yet hopefully not.