View Single Post
  #4 (permalink)  
Old Aug 26th, 2007, 23:22
afmanuk afmanuk is offline
Junior Member
Join Date: Jan 2007
Location: South Cambs, UK
Age: 18
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: are session safe?

Yeah, close.
But instead of
PHP: Select all

$_SESSION['user'] = $username.$key
Set them seperately in the session like this...
PHP: Select all

$_SESSION['user'] = $username;
$_SESSION['key'] = $key
Then you don't have to seperate the joint strings when checking
Reply With Quote