session_start();echo SID; outputs a blank page on refresh !?

Posted by Naughty.Coder on Stack Overflow See other posts from Stack Overflow or by Naughty.Coder
Published on 2010-04-08T08:19:23Z Indexed on 2010/04/08 8:23 UTC
Read the original article Hit count: 198

Filed under:
|

when I run this code for the first time

<?php
session_start();
echo SID;
?>

, I get some thing like:

PHPSESSID=9o2bhrqmln2j52caspdhholhk7

but when I refresh I get a blank page

Until I remove the PHPSESSION cookie and start a new one ... is that normal or I have a problem ?

© Stack Overflow or respective owner

Related posts about php

Related posts about php5