: 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
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
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();
-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
$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
]
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
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
7 matches
Mail list logo