session variables

From: Date: Tue, 10 Apr 2001 20:30:08 +0000
Subject: session variables
Groups: php.general 
Request: Send a blank email to php-general+get-48074@lists.php.net to get a copy of this message
I am using a session to store a variable so when someone enters something into a field the persons username(which is stored in the session) is also entered into anoter field. The problem is that it only works the first time, so how can I make the session last for a required length of time, so that if the person leaves the site and returns without the login then the variable is still stored and entered into the field. Thanks in advance. George

« previous php.general (#48074) next »