Search found 2 matches

by siwy202
Fri May 30, 2003 3:33 pm
Forum: PHP - Code
Topic: Session Variables Problem
Replies: 8
Views: 3360

twigletmac, when i do <?php phpinfo(); ?> here's what it gives me for session: Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn On On session.cache_expire 180 180 session.ca...
by siwy202
Fri May 30, 2003 3:50 am
Forum: PHP - Code
Topic: Session Variables Problem
Replies: 8
Views: 3360

Session Variables Problem

Hi I'm having some puzzling problems with global session variables. Here's just an example of the code i'm testing: Let's say I have a.php which is as follows: <?php session_start(); if ( !isset($_SESSION['username']) ) { $_SESSION['username'] = 'jason'; } echo '$_SESSION[username] equals '.$_SESSIO...