|
Posted by bob.chatman@gmail.com on 02/01/07 18:19
On Feb 1, 5:58 am, "sid" <sidwe...@alexian.net> wrote:
> I am trying to use the session variables in PHP4. I know the
> variables don't work, but I was at least trying to get the
> 'SessionId()' consistently and store my own values unique to that
> session. The only time it did work, it pasted the SessionID on the
> URL, but I would really like it to be hidden.
>
> Any help would be appreciated.
>
> Sid.
Hmm...
I code with PHP 4 on a daily basis, and i'm not sure where you got
that information about sessions not working, but its wrong. I have
never had any issues. You may be using an early version of PHP, but
unless you can get me a version i don't think that i can help you too
much. Here is the reference documentation that i am looking at.
http://us2.php.net/manual/en/ref.session.php
and here too, the $_SESSION variables were added at PHP 4.1.0 with a
note:
Note: Introduced in 4.1.0. In earlier versions, use
$HTTP_SESSION_VARS.
http://us2.php.net/manual/en/reserved.variables.php
Navigation:
[Reply to this message]
|