Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
How to manage session timeout ??
gliderman #1
Member since Nov 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to manage session timeout ??
I hope my question fits in this forum. I have a dokuwiki installed with phpbb authentication. The session timeout set in the phpbb config is, say, 1hr. Several pages running only for auth users include forms entirely managed by ajax requests to the same server. So if the page is not reloaded, ajax requests don't know that timeout could have occurred. Currently, every ajax request checks that the pbpbb cookie which contains the user id is still pointing on the logged user. This is a only a minimal control.
How to manage the ajax requests coherently with dokuwiki ? Meaning : doing exactly the same processes as dokuwiki, namely:
- check if the user is still logged,
- update the expiration date of the phpbb cookies,
- if logged out, redirect to the login page.
Looking at files in the inc directory doesn't give me any practical clue. Ideally, using the same scripts, with minimal adaptation to run outside dokuwiki, would be the preferred solution.
Thank you for your help. GL
This post was edited on 2020-03-11, 08:23 by gliderman.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-02, 22:14:40 (UTC +02:00)