IT Community - Software Programming, Web Development and Technical Support

Session Problem

This is a discussion on Session Problem within the PHP Programming forums, part of the Web Development category; Hi all, A user signed in the site. I want to signed out that user automatically if that signed user ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-17-2007, 03:36 AM
raj raj is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
raj is on a distinguished road
Default Session Problem

Hi all,

A user signed in the site.

I want to signed out that user automatically if that signed user doesn't active

the site upto 30 minutes or some minutes?

is any configuration changes need for this ?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-17-2007, 03:54 AM
Kamalakannan Kamalakannan is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 299
Kamalakannan is on a distinguished road
Default Re: Session Problem

Hi,

In your server find php.ini configuration file and Open and find the session.gc_maxlifetime variable.

In Default session.gc_maxlifetime is 1440 sec (24 min). That is session out is 24 mins.

If you want after 30 mins session time out. u can set 1800 sec (30 * 60) .


--kamal.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
session time Kirubhananth ASP and ASP.NET Programming 5 02-27-2008 02:04 AM
Problem in Session TimeOut S.Vinothkumar ASP and ASP.NET Programming 7 01-02-2008 11:42 PM
How to clear Session SaravananJ C# Programming 4 09-12-2007 02:38 AM
Destroy session using session ID Jeyaseelansarc PHP Programming 1 09-07-2007 07:42 AM
Session Hijacking vadivelanvaidyanathan PHP Programming 0 09-03-2007 01:04 AM


All times are GMT -7. The time now is 02:12 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0