Re: Session Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Dec 31, 2014, at 10:54 AM, Stuart Dallas <stuart@xxxxxxxx> wrote:
> On 31 December 2014 at 15:39, Ethan Rosenberg <
> erosenberg@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux