EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09357


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Session timeout too fast


Hi Ellis,

EPrints uses a session cookie for keeping users logged in.  This should only expire either if the user clicks logout or closes their browser.  However, I expect your user's issue may be that there IP address changed between when they loaded the page and when they submitted.  This is a historic feature of EPrints that deemed a change of IP addresses suspicious so required a session to keep the same IP address.  This feature can be disabled by creating a configuration file in your archive (e.g. <EPRINTS_PATH>/archives/<ARCHIVE_ID>/cfg/cfg.d/z_ignore_login_ip.pl) and adding the line:

$c->{ignore_login_ip} = 1;

After adding this line check the configuration is OK and reload your webserver.  E.g.

<EPRINTS_PATH>/bin/epadmin test
apachectl graceful


The first line needs to be run as the eprints user the second as the root user or with sudo.  Depending on your Linux OS, you may need to use apache2ctl rather than apachectl.

Regards

David Newman


On 02/08/2023 12:10 am, Eliseo Gatchalian via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Hi all,

 

Hope all are good and well.

 

We’ve recently installed EPrints 3.4.4 on a new server and have web imported all our data (except for the ones that are restricted) and all are seems to be working except that it times out too quickly.

 

When a user is trying to fill out the item details, which is around 5-10mins, when the user hits “Next”, it then goes back to the login page without saving the data.

 

Do you know if there is a session timeout settings in EPrints that can be changed? Or any clue where we can extend the session times would be much appreciated.

 

Many thanks all!

 

 

Best regards,

Ellis

 

 

Ellis Gatchalian

Systems Librarian

 

signature_3336631603

 

Private Bag 3036, Waikato Mail Centre, Hamilton 3240
+64-(0)7-838 6399 ext. 8633

wintec.ac.nz

 

Ki te Kotahi te kākaho ka whati, ki te kāpuia, e kore e whati | Alone we are vulnerable, together we are invincible

 

signature_454661055

 


This electronic mail transmission is intended for the named recipients only. It may contain private and confidential information. If this has come to you in error you must take no action based upon it, nor must you copy it or show it to anyone; please telephone or email the sender at Wintec immediately and return the original email. We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment which may be included with this message.


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/