[Xerte-dev] Re: Session timeout
Pat Lockley (Pgogy)
info at pgogywebstuff.com
Thu Jul 14 11:31:29 BST 2016
Well yes and no
https://github.com/thexerteproject/xerteonlinetoolkits/blob/79104a529f750b19a22a2d34181240c632ba4096/session_handler.php
exists (but looks partially out of date).
With PHP you can opt to tell the server to handle sessions in a
different way to "standard". When I wrote eureka, and having grown weary
of session timeout, I wrote a database session handler. It proved a lot
more resilient than the default option. However, in the week I left, PHP
was upgraded and the scope to run a DB session disappeared.
session.gc_maxlifetime (look in a phpinfo() dump) is key as this is the
time.
If might be something to code into the editor and then fire off a null
ajax request to maintain the session?
Pat
On 2016-07-13 05:06, ronm at mitchellmedia.co.uk wrote:
> I think that's most likely to be controlled by session timeout
> settings on the server rather than Xerte. Could be wrong but I don't
> think we have any code in Xerte to attempt to increase or decrease
> those settings.
>
> However now that I'm working some of the time at UoN and have access
> to your install I have noticed that if I revisit your install and
> login and then try to edit a project I get Session ID not set. I have
> to logout and then back in and all is fine. I don't get this on any
> other install that I have access to which is quite a large number!
>
> HTH
>
> Ron
>
> FROM: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Fay
> Cross
> SENT: 13 July 2016 09:55
> TO: Xerte Dev Mailing List <xerte-dev at lists.nottingham.ac.uk>
> SUBJECT: [Xerte-dev] Session timeout
>
> Does anyone know how long you can stay logged into Xerte for before it
> logs you out? I've had a report of loss of data in a project (we have
> the multiple window fix on our install so I don't think it's this) and
> they have said that some of their colleagues have said they've had
> similar issues and found they had been logged out (not reported to me
> at the time so I'm not sure if these other losses were before the
> editor window fix or not). I'm waiting for more info but in the
> meantime is anyone else having similar issues?
>
> Thanks
>
> Fay
>
> This message and any attachment are intended solely for the addressee
>
> and may contain confidential information. If you have received this
>
> message in error, please send it back to me, and immediately delete
> it.
>
> Please do not use, copy or disclose the information contained in this
>
> message or in any attachment. Any views or opinions expressed by the
>
> author of this email do not necessarily reflect the views of the
>
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
>
> attachment may still contain software viruses which could damage your
>
> computer system, you are advised to perform your own checks. Email
>
> communications with the University of Nottingham may be monitored as
>
> permitted by UK legislation.
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete
> it.
>
> Please do not use, copy or disclose the information contained in this
> message or in any attachment. Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
Pgogy Webstuff
pgogywebstuff.com
More information about the Xerte-dev
mailing list