You are here: Re: Sessions in PHP4 « PHP Language « IT news, forums, messages
Re: Sessions in PHP4

Posted by sid on 02/01/07 22:37

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация