All I know is $_SESSION only works if you have shortcuts on. To test this, try replacing yoru <?php ?> tags with just <? ?>
May sound noobish but I'm lost by this whole thread... ----- Original Message ----- From: "Daniel Masson" <[EMAIL PROTECTED]> To: "'Justin French'" <[EMAIL PROTECTED]> Cc: "'Ryan Gibson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 10:15 AM Subject: RE: [PHP] PHP Sessions > > > $_SESSION IS SUPERGLOBAL !!!! > > > Are you sure? I thought $_SESSION was a superglobal. > > > Marco > > On Wed, 2002-12-04 at 09:15, Justin French wrote: > > Good point -- are the included files functions, or other stuff?? > > > > function myfunc() > > { > > return $_SESSION['something']; > > } > > > > will not work, but: > > > > > > function myfunc() > > { > > global $_SESSION; > > return $_SESSION['something']; > > } > > > > will... > > > > J > > > > > > > > on 05/12/02 1:14 AM, Ryan Gibson ([EMAIL PROTECTED]) > > wrote: > > > > > May be a silly question but are u using a global statement in the > > > include files, just a thought > > > > > > > > > on 4/12/02 1:11 pm, Andy Kirk at [EMAIL PROTECTED] > > > wrote: > > > > > >> Can anyone tell me if session variables should be available to > > >> scripts that are included into the main script? > > >> > > >> It appears to me that they are not unless I am really missing the > > >> point. > > >> > > >> > > >> > > > > > > > Justin French > > -------------------- > > http://Indent.com.au > > Web Development & > > Graphic Design > > -------------------- > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php