hi & thx for your replies
@chris: thats exactly what I do right now, but I consider it a "workaround",
because I have to use session_register ("count"); first. the funny thing is,
that
when I call this page without an session id...
(just check.php instead of check.php?PHPSESSIONID=2178362178
PROTECTED]]
Sent: Thursday, June 21, 2001 7:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with session_is_registered
I just check the var.
if (isset($HTTP_SESSION_VARS['count']))
echo "
Yes its all set :)
";
--
Chris Lee
[EMAIL PROTECTED]
&quo
u should start the session first (session_start(), then check registration!
>From: "news.php.net" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [PHP] Problem with session_is_registered
>Date: Thu, 21 Jun 2001 15:25:35 +0200
>
>hi everybody,
>
>
I just check the var.
if (isset($HTTP_SESSION_VARS['count']))
echo "
Yes its all set :)
";
--
Chris Lee
[EMAIL PROTECTED]
""news.php.net"" <[EMAIL PROTECTED]> wrote in message
9gss6k$kud$[EMAIL PROTECTED]">news:9gss6k$kud$[EMAIL PROTECTED]...
> hi everybody,
>
> maybe I get
hi everybody,
maybe I get smth. wrong, but as far as I know the function
"session_is_registered()"
is used to find out if a var is registered in a session...
ok, now here is my example:
[ index.php ]
.
.
.
NEXT
[ check.php ]
";
}
else {
echo "no, count is not reg.";
}
?>
.
.
.
now, check
5 matches
Mail list logo