You are here: Re: Sessions in different versions of PHP « All PHP « IT news, forums, messages
Re: Sessions in different versions of PHP

Posted by Rik on 02/22/07 16:43

Mike <mike@mjfcadsolutions.co.uk> wrote:

> $_SESSION[s_check1] =3D "4";

You mean $_SESSION['s_check1'] =3D "4";
Switch on error_reporting(E_ALL) to see why.

> Both work fine until tested with a user on an AOL ISP. The one under
> 4.4.3 works perfectly but the one under 5.0.4 fails and the session is=

> not carried accross to the new page.
>
> Any one have any clues why this would happen. Whats the changes/
> diferences between 4.4.3 and 5.0.4 that could effect this?

No change between 4.4.3 & 5.0.4 that could do this I'd think. Offcourse,=
2 =

different severs mean 2 possibly different configurations. Compare the =

following settings:
session.name
session.cookie_lifetime
session.cookie_path
session.cookie_domain
session.cookie_secure
session.cookie_httponly
session.use_cookies
session.use_only_cookies
session.referer_check
session.use_trans_sid
url_rewriter.tags

Or possibly examine the difference in Setcookie-headers the 2 different =
=

servers return.
-- =

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

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