You are here: Re: Confusing session behaviour « PHP Programming Language « IT news, forums, messages
Re: Confusing session behaviour

Posted by Janwillem Borleffs on 02/26/06 12:42

David Haynes wrote:
> Calling foo.ctrl.php from the browser URL produces:
> _SESSION
> Array ( [0] => Array ( [this] => 1 [that] => 2 ) )
> foo
>
> clicking on the 'foo' link produces:
> _SESSION
>

Beside that the assignment $foo[] = ... causes foo to be populated with
another array, this works on my environment as expected.

Make sure that the session.cookie_path directive in your ini file is set to
"/"; also try to set the session.use_trans_sid directive in the same file to
"1", which should cause the session id to be appended to the link when there
are problems setting the cookie.


JW

 

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

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