The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Session Timeout  (Read 14117 times)

casi91

  • Newbie
  • *
  • Offline Offline
  • Posts: 22
Session Timeout
« on: December 20, 2012, 02:31:24 PM »

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.

« Last Edit: November 09, 2017, 10:36:24 AM by dj02 »
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: Session Timeout
« Reply #1 on: December 20, 2012, 02:50:51 PM »

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

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 848
Logged

casi91

  • Newbie
  • *
  • Offline Offline
  • Posts: 22
Re: Session Timeout
« Reply #3 on: December 21, 2012, 11:51:54 AM »

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

casi91

  • Newbie
  • *
  • Offline Offline
  • Posts: 22
Re: Session Timeout
« Reply #4 on: February 18, 2013, 11:15:23 AM »

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?
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: Session Timeout
« Reply #5 on: February 18, 2013, 11:43:28 AM »

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

casi91

  • Newbie
  • *
  • Offline Offline
  • Posts: 22
Re: Session Timeout
« Reply #6 on: February 18, 2013, 02:28:07 PM »

Thanks for that.
It works fine :-)
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13