I am using sessions on a site i am developing, but i am trying to avoid relying on cookies. this means that i will be passing data exclusively via the url. for some reason, however, when i set use_cookies to 0 in the php.ini file, a session id is not issued. i am not using trans-sid for various reasons- i am appending the url manually.
the problem as i have determined it happens on the first page a user accesses. if i use trans-sid, all links on this first page are appended correctly with a unique id. however, if i do this manually, i am not able to derive the phpsessid value on the first page.
for example:
<?
session_start();
?>
<? echo $PHPSESSID;?>
Shouldn't this piece of code display the SID the first time you access it?