I use session_start() at the top of all my pages so i can check for the existance of a session.
For example:
//When the user logs in
session_start();
session_register("SESSION");
session_register("SESSION_UNAME");
$SESSION_UNAME = $ResultArray[0];
//And then on every other page
session_Start();
If(!empty($SESSION_UNAME))Print "<tr><td valign=\"top\" height=\"30\"><div align=\"center\">$SESSION_UNAME</div></td></tr>";
This works just fine but for some reason when i navigate to a page the damn thing adds a variable to my URL..
Example:
http://www.website.com/index.php?PHPSESSID=6bbd0312fd9c544ed10ac4eac24c3430
Why is it adding that PHPSESSID number to all my URL's?
anyone know? Thanks!
😃