LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2007, 02:34 PM   #1
uid0sd
Member
 
Registered: Aug 2006
Distribution: Mac OS X, Debian, Ubuntu
Posts: 37

Rep: Reputation: 15
Auto log off idle users?


We have a few PHP apps running on Apache 1.3 connecting to a MySQL db, which of the apps would take care of automatically logging off an idle user? Apache or MySQL?
 
Old 03-20-2007, 03:21 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by uid0sd
We have a few PHP apps running on Apache 1.3 connecting to a MySQL db, which of the apps would take care of automatically logging off an idle user? Apache or MySQL?
I would believe this would actually be controlled by PHP if it's logging in thru a PHP application or authenticated thru such means. I would hope that your PHP application doesn't keep an open connection to the MySQL server, instead it should just connect when necessary, running a query for results or updating a table or row, etc.
 
Old 03-20-2007, 03:31 PM   #3
uid0sd
Member
 
Registered: Aug 2006
Distribution: Mac OS X, Debian, Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
OK, so what in the php.ini do I need to define to log off idle users say after 10 mins then?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-completion in idle/idlefork? Guest1234 Programming 1 08-28-2005 04:13 PM
auto turning off monitor after 15 minutes idle? webazoid Linux - Software 1 07-10-2004 08:41 AM
How do I make KDE 3.2.1 not log off idle users? rende Linux - Newbie 0 05-12-2004 10:26 AM
why my RH9 Adsl idle some time it auto break? Linuxjia Linux - Networking 2 02-08-2004 01:05 AM
idle users klfreese Linux - Newbie 1 07-20-2003 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration