Hi guys, im trying to find out the best way to set a unique session variable. Normally I would use a "username", but this project does not need a login script or users table. Whats the best way to create a unique session so that I can echo out the details in a "review order" page, from a database? Any help with this would be great. Thanks!!

You could create a unique hash using the user's IP address and their browser info. E.g.

$hash = sha1($_SERVER['REMOTE_ADDR'] . $_SERVER['USER_AGENT']);

However, the session id is unique too and would last for the duration of the user's visit.

session_id();