Session Timeout

Started by casi91, December 20, 2012, 02:31:24 PM

Previous topic - Next topic

casi91

Hi Community,

i search for a option in the httpd.conf to set a Sessiontimeout
i configured my Apache, that the Login is hostet by my Server.
As you can see here: https://forum.apachehaus.com/index.php?topic=848.0

And now i would like to make a "auto logoff" when the user is 30 or more minutes inactiv.
I didn't found anything, so I ask here.


mario

it is SessionMaxAge. At least I think so. I haven't tried.


casi91

Thanks for the answers
i'll try it, when i have fixed my current Problem :-D

casi91

Hi there,
SessionMaxAge is the option i was searching for.
Now my last Problem is, that i want to redirect to my login-page after the session is obsolate.
Is there any Option in the Apache or have i to code this in php?

mario

You could define an ErrorDocument with the correct error number than the user will see that page.

casi91

Thanks for that.
It works fine :-)