How can I determine if the return value if it is a new or current session?
$session=new CGI::Session("driver:File", $cgi, {Directory=>'/tmp'});
This calls return a $session but I can't determin in the program if it was
new or current. I'm looking for something like below:
if($session=new CGI::Session("driver:File", $cgi, {Directory=>'/tmp'}))
{ print "this is a new session"; }
else
{ print "this is a current session"; }
thanks
-----------------------------------------
eMail solutions by
http://www.swanmail.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]