<![CDATA[ Authorized user being logged out? SESSION expiring too soon? - My Forums]]> https://forums.modx.com/thread/?thread=88766 <![CDATA[Authorized user being logged out? SESSION expiring too soon?]]> https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-488287
I have a site with a number of levels of web user account access. For simplicity's sake, we can use 'manager' and 'user' as the levels. In the past few days, 'users' trying to register vehicles have been unsuccessful once they submit the form. They are taken to an 'Unauthorized Access' page. The same has been happening at the 'manager' level as well when they switch between categories.

This had been working flawlessly until the last few weeks. I've checked the permissions on the resource and they are correct, but I'm really an intermediate when it comes to permissions settings in MODx.

When a user registers an account with the site, they are assigned to a webgroup called "Registered Users". They can also assign themselves to a number of specific categories, but the core permission for access to the resource is "Registered Users". This setting is correctly set on my resource.

I'm wondering if they are being logged out prematurely. If they are, how would I fix that?

[EDIT] - I'd also like to add that no php errors are being generated in the log or the System Events. And I have been unable to replicate the problem on my end at all. The only commonality between all affected users is Windows, but not the same browser or the same version OS. Really stumped.

[EDIT - 2/11/14] - This is still a huge problem. Is it possible for the SESSION to time out? Where I believe my PHP is failing is a $modx->getLoginUserID() in the __construct function of my class. The browser cookies are all in tact throughout. If I navigate back to the login, I am still logged in (using WebLoginPE), but the PHP behaves as if it no longer recognizes me as 'webValidated'. I really need to get this solved. We have a registration event coming up in a few weeks and this has to operating normally again. If somebody wants to make some money helping out on this, PM me.]]>
djad33 Jan 24, 2014, 09:21 AM https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-488287
<![CDATA[Re: Authorized user being logged out? SESSION expiring too soon?]]> https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-489774
Thanks for this link. It was at least part of the problem. Rather than full, it appeared to be corrupted. There were no files in it and it read at 0 bytes, but the Rackspace tech saw it empty at 12MB. Trashed that. Created a new sessions folder and made some changes in my .htaccess and all is working properly now. I've been logged in for 2 hours without any issues.

Thanks, again!]]>
djad33 Feb 11, 2014, 06:22 PM https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-489774
<![CDATA[Re: Authorized user being logged out? SESSION expiring too soon? (Best Answer)]]> https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-489760
http://forums.modx.com/thread/10992/solved-manager-login-session-problems-on-shared-cloud-grid-servers#dis-post-63013]]>
Jako Feb 11, 2014, 03:37 PM https://forums.modx.com/thread/88766/authorized-user-being-logged-out#dis-post-489760