PHP4 - Can't generate Session

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
DoppyNL

Post by DoppyNL » Wed Oct 16, 2002 3:12 am

You can't acces you're session-variables?? see this sticky post.

Greetz Daan

Jay

Post by Jay » Wed Oct 16, 2002 1:12 pm

Try this instead:

Code: Select all

<?
session_start();
$_SESSION['count'] = (@$_SESSION['count'])? $_SESSION['count']++:0;
print "The counter is ".$_SESSION['count'];
?>

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests