Hi Nick,
Okay you can say that. But if you had read the manual on session handling functions (http://www.php.net/manual/en/ref.session.php) and the different function, you would have noticed that
session_destroy($temp_name)
cannot work. Why? Because:
"session_destroy -- Destroys all data registered to a session
Description: bool session_destroy (void)"
you see, it says void. So if you want to unregister a sessionvar you use:
"session_unregister -- Unregister a variable from the current session
Description: bool session_unregister (string name)"
Ah! session_unregister is not void but string! Good!
So when you read the manual, read the function description carefully.
Good luck.
greetings