how to track user logged out or not? when user is idle ?

Author Topic: how to track user logged out or not? when user is idle ?  (Read 659 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • Hot Shaper
By checking the session variable exist or not while loading th page. As the session will exist longer as till browser closes. The default behaviour for sessions is to keep a session open indefinitely and only to expire a session when the browser is closed. This behaviour can be changed in the php.ini file by altering the line session.cookie_lifetime = 0 to a value in seconds. If you wanted the session to finish in 5 minutes you would set this to session.cookie_lifetime = 300 and restart your httpd server.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1127 Views
Last post 11-10-2011, 13:33:08
by pehlavoon
9 Replies
4324 Views
Last post 02-11-2017, 03:41:24
by jannatul18
0 Replies
853 Views
Last post 07-08-2015, 05:25:18
by Queen Mary
0 Replies
802 Views
Last post 12-11-2015, 05:02:22
by thefriendlancer
0 Replies
612 Views
Last post 02-24-2016, 03:11:13
by chinmay.sahoo