|
Posted by bob.chatman@gmail.com on 02/02/07 01:57
On Feb 1, 2:37 pm, "sid" <sidwe...@alexian.net> wrote:
> On Feb 1, 12:19 pm, "bob.chat...@gmail.com" <bob.chat...@gmail.com>
> wrote:
>
>
>
> > 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
>
> I am using vs 4.1.2
> Yes, I can make the session work if I allow it to place its id on the
> url.
> But, thats not what I wanted. I was expecting it to be hidden.
>
> Sid.
thats an issue with the client's browser. The sessions cookies are
used only if they are accepted by the client. Otherwise it defaults to
the URL string.
[Back to original message]
|