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

Posted by David Haynes on 02/26/06 13:45

Janwillem Borleffs wrote:
> 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
>
>
Thanks for the suggestions JW.

Unfortunately, they did not fix my problem. Maybe its a windows or php
5.0.5. thing?

I'll move the example to Linux and see what happens.

-david-

 

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

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