Menu
I’M making a contact page up and have read and followed a link from a thread I found in searching this forum which landed me at some site on the subject of using a token to stop spoofing by using sessions.
the example that was given was
[code=php]$token = md5(uniqid(rand(), true));
$_SESSION[‘token’] = $token;
with no sign of session_start() in sight.
1. If I’M passing the session token value from one script to another, I need the session_start()2. Can I just leave that session and kill it in the next page? if so, How? as the article doesn’t say.