OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



How are user login sessions stored?

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

How are user login sessions stored?

Postby cwrstl » Thu Jun 13, 2013 10:47 am

I'm going to be helping to troubleshoot an issue on an OCS server where the logging out sometimes fails. Can anyone tell me if the user login session is stored in a flat file or in the database?
cwrstl
 
Posts: 2
Joined: Thu Jun 13, 2013 9:42 am

Re: How are user login sessions stored?

Postby asmecher » Thu Jun 13, 2013 11:14 am

Hi cwrstl,

Sessions are stored in the database in the "sessions" table. Check your PHP error log for details, and search this forum for APC-related issues if you're using that opcode cache.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 7709
Joined: Wed Aug 10, 2005 12:56 pm

Re: How are user login sessions stored?

Postby cwrstl » Thu Jun 13, 2013 2:00 pm

Thanks for the info. As it happens, the issue turned out to be the Apache ExpiresActive directive, which was causing the browser to cache the logout. I disabled it for the OCS directory, and fixed our issue.
cwrstl
 
Posts: 2
Joined: Thu Jun 13, 2013 9:42 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests