You are here: Re: session data stored but new session everytime! « PHP Programming Language « IT news, forums, messages
Re: session data stored but new session everytime!

Posted by Rik on 01/12/07 18:05

rgparkins@hotmail.com wrote:
> Hello
>
> I am running out of time with a problem I have running PHP 5.04 and
> Apache 2.0 and really need help :(. I have a page that stores a
> variable in session but each time I reload that page the session seems
> to be re-created and is an empty array. I have checked the session
> file and the variable is being stored against the session id, but I
> dont know why PHP is not picking up the session after I reload.. I
> have tried the usual suspects of register_long_arrays etc but no
> luck.. slowly winding down to a quick death before our old server is
> taken out of commission and all our sites will be served from here,
> but at this rate its not gonna happen.
>
> Would really appreciate help with this one its been days now and I
> cant resolve.

If it's not picking up the session, it's important to know how the session
is stored. Is this in a GET/POST or COOKIE? And what kind of
request/headers does the browser send on the second pageload (use Fiddler
in MSIE, LiveHTTPHeaders in Firefox to find this out).
--
Rik Wasmus

 

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

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