You are here: Re: Strange things with sessions « PHP Programming Language « IT news, forums, messages
Re: Strange things with sessions

Posted by AnrDaemon on 11/11/07 10:31

Greetings, Ezechiele.
In reply to Your message dated Friday, November 9, 2007, 19:44:40,

> Hi,

> I have problems with this following script that is called from page1.php
> and then go back to the calling page. But it seems the SESSION values are
> not saved properly, for in the calling page they are empty.
> This is the script:

The strange thing is that You using autoglobal arrays the same time as
deprecated long-name arrays.
Rewrite Your script using recommended autoglobal arrays $_SERVER, $_COOKIES
only and see if it work.
BTW, make sure You are NOT redirecting from http://www.host/ to http://host


> The strange thing is that the same script works properly for another
> domain.

If that domain on another hoster - probablethey both have different settings
for PHP.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

 

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

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