Code: Select all
session_start();
session_id() = 'billy';
$username = session_id();
The site also has register and login option..
the problem is if some1 has added products in there basket and login i want the session_id to become there username to keep the basket individual..
my code is not working to set the session _id can u guys help..
have u guys got any other ideas to make the basket more secure?
Thanks in advanced