Re: [PHP] Session timeout

2007-12-14 Thread Richard Lynch
On Thu, December 13, 2007 6:36 am, Dani Castaños wrote: > I've read a bit about PHP session timeout. Is it configurable?? I > mean, > If i want user logged out after 10 minutes of innactivity... where i > can > to set it up?? Is it possible to expire session configuring php.

Re: [PHP] Session timeout

2007-12-14 Thread Dani Castaños
Hi all, I've found the key of all... at least this is what I think ;-) (And, again, at least, for Debian users) The thing is I want to have control on what "exactly" a session lasts, and advice the user some time before to renew the session if he wants. If you only set gc_maxlifetime with ini_s

Re: [PHP] Session timeout

2007-12-13 Thread Richard Heyes
You can simulate that, because not always you'll be able to do "init_set" ini_set(), and when? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS ** -- P

Re: [PHP] Session timeout

2007-12-13 Thread Cesar D. Rodas
) ) close_session(); I hope this be helpful for you! On 13/12/2007, Richard Heyes <[EMAIL PROTECTED]> wrote: > > > I've read a bit about PHP session timeout. Is it configurable?? I mean, > > If i want user logged out after 10 minutes of innactivity... where i can > &g

Re: [PHP] Session timeout

2007-12-13 Thread Victor Matherly
t Sent: Thursday, December 13, 2007 7:36:06 AM (GMT-0500) America/New_York Subject: [PHP] Session timeout Hi all! I've read a bit about PHP session timeout. Is it configurable?? I mean, If i want user logged out after 10 minutes of innactivity... where i can to set it up?? Is it possi

Re: [PHP] Session timeout

2007-12-13 Thread Richard Heyes
There are various configuration options for this (which you change in the php.ini or by using the ini_set() function): session.gc_maxlifetime session.cookie_lifetime Before sending my first mail, i've changed those parameters... and nothing seems to change. I set up also session.cache_expire

Re: [PHP] Session timeout

2007-12-13 Thread Dani Castaños
There are various configuration options for this (which you change in the php.ini or by using the ini_set() function): session.gc_maxlifetime session.cookie_lifetime Before sending my first mail, i've changed those parameters... and nothing seems to change. I set up also session.cache_expi

Re: [PHP] Session timeout

2007-12-13 Thread Richard Heyes
I've read a bit about PHP session timeout. Is it configurable?? I mean, If i want user logged out after 10 minutes of innactivity... where i can to set it up?? Is it possible to expire session configuring php.ini. I know i will have to write code to do whatever when the session ex

[PHP] Session timeout

2007-12-13 Thread Dani Castaños
Hi all! I've read a bit about PHP session timeout. Is it configurable?? I mean, If i want user logged out after 10 minutes of innactivity... where i can to set it up?? Is it possible to expire session configuring php.ini. I know i will have to write code to do whatever when the se

Re: [PHP] session timeout

2004-10-04 Thread Marek Kilimajer
Philip Thompson wrote: Hi all. I have users log into my site to perform certain actions. However, I want to create a timed session so that it automatically logs them out after a certain amount of time. I am using `session_set_cookie_params()` to create the amount of available time that the user

Re: [PHP] session timeout

2004-10-04 Thread Greg Donald
On Mon, 04 Oct 2004 09:54:15 -0500, Philip Thompson <[EMAIL PROTECTED]> wrote: > I have users log into my site to perform certain actions. However, I > want to create a timed session so that it automatically logs them out > after a certain amount of time. I am using > `session_set_cookie_params()`

Re: [PHP] session timeout

2004-10-04 Thread afan
# store entry time to session $_SESSION['entry_time'] = time(); # checking if session expired if((time() - $_SESSION['entry_time']) > 3600) #session expired after 1 hour { header('login.php'); exit; } -afan > Hi all. > > I have users log into my site to perform certain actions. However, I

[PHP] session timeout

2004-10-04 Thread Philip Thompson
Hi all. I have users log into my site to perform certain actions. However, I want to create a timed session so that it automatically logs them out after a certain amount of time. I am using `session_set_cookie_params()` to create the amount of available time that the user is logged in. But my

Re: [PHP] session timeout

2004-04-16 Thread Richard Harb
Friday, April 16, 2004, 4:35:30 PM, you wrote: > Hello Marek, >I had similar trouble with my PHP application. I used an .htaccess > file with the same line. But it still did not work. I guess I even tried > ini_set() function. > I have a question with this point : I can only answer part o

Re: [PHP] session timeout

2004-04-16 Thread Pushpinder Singh
Hello Marek, I had similar trouble with my PHP application. I used an .htaccess file with the same line. But it still did not work. I guess I even tried ini_set() function. I have a question with this point : 2. No other application can access your session storage. Other applications could

Re: [PHP] session timeout

2004-04-16 Thread Marek Kilimajer
pete M wrote: Am trying to increae the session lifetime to 8 hours ish using this code ini_set('session.gc_maxlifetime',28800); does not work ? any ideas Pete There are 3 conditions that must be met: 1. You must set it before session_start() 2. No other application can access your session stor

[PHP] session timeout

2004-04-16 Thread pete M
Am trying to increae the session lifetime to 8 hours ish using this code ini_set('session.gc_maxlifetime',28800); does not work ? any ideas Pete -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session timeout?

2004-02-23 Thread Jake McHenry
How can I make my site auto log out a user like I've seen on many sites? Right now, the users session never expires unless manually logging out or the browser is closed. Also, should I change anything to cover any security issues? I havn't changed much from the default, only enough to get it run

Re: [PHP] session timeout

2003-11-13 Thread CPT John W. Holmes
From: <[EMAIL PROTECTED]> > > How do I set the session timeout - eg someone leaves a broweser for say > > half an hour then have to log in again.. > > As I'm on an intranet I want to increase ro 3 hours > > Pete, Change the default configuration of the option session.cookie_lifetime > in the php.in

Re: [PHP] session timeout

2003-11-13 Thread Marek Kilimajer
pete M wrote: How do I set the session timeout - eg someone leaves a broweser for say half an hour then have to log in again.. As I'm on an intranet I want to increase ro 3 hours Pete increase the value of session.gc_maxlifetime (in seconds), session.cookie_lifetime should be still 0 (untill

Re: [PHP] session timeout

2003-11-13 Thread CPT John W. Holmes
From: "pete M" <[EMAIL PROTECTED]> > How do I set the session timeout - eg someone leaves a broweser for say > half an hour then have to log in again.. > > As I'm on an intranet I want to increase ro 3 hours Exact method: Save the current time on each request in the session. On each request, chec

[PHP] session timeout

2003-11-13 Thread orlandopozo
> How do I set the session timeout - eg someone leaves a broweser for say > half an hour then have to log in again.. > > As I'm on an intranet I want to increase ro 3 hours > > Pete > Pete, Change the default configuration of the option session.cookie_lifetime in the php.ini by default: ; Lifetim

[PHP] session timeout

2003-11-13 Thread pete M
How do I set the session timeout - eg someone leaves a broweser for say half an hour then have to log in again.. As I'm on an intranet I want to increase ro 3 hours Pete -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session Timeout

2003-10-29 Thread Marek Kilimajer
Better solution would be to display your login form together with all get and post variables in hidden fields. If the user logs in sucessfully, your script can continue with processing the form data. [EMAIL PROTECTED] wrote: right of course, 1440 is only 24 minutes. On Tuesday, October 28, 200

RE: [PHP] Session Timeout

2003-10-28 Thread daniel
right of course, 1440 is only 24 minutes. > On Tuesday, October 28, 2003 6:46 PM wrote: > >> Hi there, i am experiencing a session timeout problem with one of my >> projects. One of the users had left their machine for less than 15 > mins, >> maybe a bit more and it logged them out when posting da

RE: [PHP] Session Timeout

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 6:46 PM wrote: > Hi there, i am experiencing a session timeout problem with one of my > projects. One of the users had left their machine for less than 15 mins, > maybe a bit more and it logged them out when posting data. This isnt good > as they lost their data. I was

[PHP] Session Timeout

2003-10-28 Thread daniel
Hi there, i am experiencing a session timeout problem with one of my projects. One of the users had left their machine for less than 15 mins, maybe a bit more and it logged them out when posting data. This isnt good as they lost their data. I was wondering how i can dynamically set the session time

Re: [PHP] Session Timeout

2003-08-30 Thread Curt Zirzow
* Thus wrote Seth Willits ([EMAIL PROTECTED]): > From what I see, the default timeout for a session is 1440 seconds or > 24 minutes. I was gone for nearly an hour, came back, and the session > was still valid. Must the value set in the config file be different > than 1440, or am I misundersta

Re: [PHP] Session Timeout

2003-08-30 Thread Tom Rogers
Hi, Saturday, August 30, 2003, 1:55:02 PM, you wrote: SW> From what I see, the default timeout for a session is 1440 seconds or SW> 24 minutes. I was gone for nearly an hour, came back, and the session SW> was still valid. Must the value set in the config file be different SW> than 1440, or

[PHP] Session Timeout

2003-08-30 Thread Seth Willits
From what I see, the default timeout for a session is 1440 seconds or 24 minutes. I was gone for nearly an hour, came back, and the session was still valid. Must the value set in the config file be different than 1440, or am I misunderstanding session.gc_maxlifetime? I'd like for the user t

[PHP] Session Timeout

2002-01-03 Thread Ye Tun
What is the optionin php.ini for session timeout? here is my session setting. session.save_handler = files ; handler used to store/retrieve data session.save_path = /home/apache/newmob/tmp; argument passed session.use_cookies = 1 ; whether to use cookies session.name

Re: [PHP] Session timeout

2001-07-10 Thread py
look in php.ini py - Original Message - From: Frédéric Mériot <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:33 PM Subject: [PHP] Session timeout > How to set the session timeout? > > > -- > PHP General Mailing List (http://www.ph

[PHP] Session timeout

2001-07-10 Thread Frédéric Mériot
How to set the session timeout? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]