The Ninja Space Goat:
Read this: http://shiflett.org/articles/security-corner-feb2004
If you don't want to read it all and you just want to see the example, start reading from "Think you're not vulnerable? Consider the code in Listing 1. Save this code as...".
session_regenerate_id
Moderator: General Moderators