Reply to Re: Session ID changed everytime go to new page or reload.

Your name:

Reply:


Posted by Bocah Sableng on 04/10/07 06:24

On Apr 10, 11:12 am, gordonb.72...@burditt.org (Gordon Burditt) wrote:

> Try looking at the cookie(s) on the browser. What domain(s) are they
> in? There should be one cookie for each domain. Also try printing
> $_COOKIE['PHPSESSID'] to see what cookie is getting sent to each page.
>

I try to execute print_r($_COOKIE);
FF: both old and new hosts print its PHPSESSID value.
IE: old host print its PHPSESSID value, and new host print empty array
(no cookies sent?).

> >I have read user notes php manual section session handling, but none
> >of the solution works for me.
> >Is it cookie problem?
>
> If you are constantly getting new sessions on every page hit, it's
> usually a cookie problem, assuming you are not trying to use
> trans_sid. You can't maintain the *SAME* session between servers
> in two different domains (even if it's the same server).

I've decided to leave this problem and use IP address since I have no
idea to solve strange IE behaviour.

Thank you very much.

[Back to original 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

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