Re: [PHP] Sessions with register_globals = off

2002-09-07 Thread Mauricio Cuenca
: 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

[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

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_start();

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 with Apache 1.3.22 on Win32

[PHP] Sessions with register_globals = off

2002-04-26 Thread Padraig Kitterick
$HTTP_SESSION_VARS[myVar]. If I do: $HTTP_SESSION_VARS[myVar] = Some other text; then $HTTP_SESSION_VARS[myVar] contains that text, but only for this page! How do I use sessions then with register_globals = off???!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Sessions with register_globals = off

2002-04-26 Thread John Holmes
] 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_start(); $myVar = Something; $HTTP_SESSION_VARS[mySessionVar] = $myVar

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