Re: Session Variables

From: Date: Wed, 31 Dec 2014 16:43:23 +0000
Subject: Re: Session Variables
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-324200@lists.php.net to get a copy of this message
> On Dec 31, 2014, at 10:54 AM, Stuart Dallas <stuart@3ft9.com> wrote: > On 31 December 2014 at 15:39, Ethan Rosenberg < > erosenberg@hygeiabiomedical.com> wrote: > >> I now have - >> >> session_name("STORE"); >> session_id('Gingy'); >> session_set_cookie_params( 'lifetime', '/var/www' ); >> session_start(); >> >> >> No luck. >> > Please take the time to learn and understand the tools you're using, > otherwise you're unlikely to make productive progress. > > Hope that helps. > > -Stuart > As usual, Stuart provides sound advice. Session ID's are generated randomly for a reason -- that way they are harder to hack. So, my advice is to leave them alone and use the session variables they identify as you may, but don't make it easy for hackers to highjack a session. Cheers, tedd _______________ tedd sperling tedd@sperling.com

« previous php.general (#324200) next »