You are here: Sessions « PHP Language « IT news, forums, messages
Sessions

Posted by wombat on 01/21/07 01:39

I have a problem with a page that allows you to log into my site. The
site is in a subdomain. However, to eliminate some of the problems I've
had I link everything through http://www.***.com/home/index.php instead
of using http://home.***.com/index.php.

The problem I'm now encountering is this:

The sessions appear to be dependent on the url. Testing the code on the
first version (http://www.***.com/home) works and I can log in. While
I'm logged in by accident I entered the site through the domain. Same
page but the url is (http://home.***.com) - the session is gone.
However, it still exists if I enter without the subdomain.

Again, the code works..... it just appears to me that a session is
depending on the url being the same.

Are sessions url dependent? If so, is there a work-around?

Thanks.

 

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

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