homepage Welcome to WebmasterWorld Guest from 54.205.236.46
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
session id's
scorpion




msg:1301211
 6:54 pm on Dec 6, 2002 (gmt 0)

Does anybody know why the PHPSESSIONID variable is visible in the user's browser the first time the link is clicked and every subsequent link after that the browser does not show it (it's invisible, just shows abc.com/test.php)

<?php
session_start();
if (!session_is_registered('count')) {
session_register("count");
$count = 0;
}
else {
$count++;
}

?>

Hello visitor, you have seen this page <?php echo $count;?> times.<p>

To continue, <A HREF="test.php">click here</A>

 

mavherick




msg:1301212
 8:01 pm on Dec 6, 2002 (gmt 0)

hmmm, is php set up to use transparent id?

mavherick

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved