Re: [PHP] Sessions with register_globals = off

2002-09-07 Thread Mauricio Cuenca
- Original Message - From: "Daniel Guerrier" <[EMAIL PROTECTED]> To: "Mauricio Cuenca" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 06, 2002 2:11 PM Subject: Re: [PHP] Sessions with register_globals = off > Here you go > > http://www.zend.com/manual/function.session-is-registered.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions with register_globals = off

2002-09-06 Thread Daniel Guerrier
Here you go http://www.zend.com/manual/function.session-is-registered.php --- Mauricio Cuenca <[EMAIL PROTECTED]> wrote: > Hello, > > I'm working with register_globals turned off. I'm > setting this session > cookie: > >if ($nresult) { > if (mysql_numrows($nresult)) { > session_

[PHP] Sessions with register_globals = off

2002-09-06 Thread Mauricio Cuenca
Hello, I'm working with register_globals turned off. I'm setting this session cookie: if ($nresult) { if (mysql_numrows($nresult)) { session_start(); $_SESSION['auth'] = 'TRUE'; } } And then I'm checking if the cookie is set, but it doesn't work: if ($_SESSION['auth']

RE: [PHP] Sessions with register_globals = off

2002-04-29 Thread Ford, Mike [LSS]
> -Original Message- > From: Padraig Kitterick [mailto:[EMAIL PROTECTED]] > Sent: 26 April 2002 20:16 > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions with register_globals = off > > > Am in need of help or I will loose my sanity!!! Im runnin Php > 4.1.2 wi

Re: [PHP] Sessions with register_globals = off

2002-04-26 Thread Erik Price
On Friday, April 26, 2002, at 03:16 PM, Padraig Kitterick wrote: > This is annoying as everyhwhere I read about sessions, Im told that if > register_globals is off, I shouldnt use session_register(), all I need > to do > is: > > $HTTP_SESSION_VARS["myVar"] = $myVar; This is not what the docum

RE: [PHP] Sessions with register_globals = off

2002-04-26 Thread John Holmes
:16 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions with register_globals = off > > Am in need of help or I will loose my sanity!!! Im runnin Php 4.1.2 with > Apache 1.3.22 on Win32 with register_globals set to off. My script is as > follows: > > > session_sta

[PHP] Sessions with register_globals = off

2002-04-26 Thread Padraig Kitterick
Am in need of help or I will loose my sanity!!! Im runnin Php 4.1.2 with Apache 1.3.22 on Win32 with register_globals set to off. My script is as follows: If I check the cookie, its completely empty. Now if I change this to: the cookie now contains: myVar|s:9:"Something"; This is annoying a