You are here: [PHP5][SESSION] vars lose when i use session in a different script directory « All PHP « IT news, forums, messages
[PHP5][SESSION] vars lose when i use session in a different script directory

Posted by <claude_ANTISPAM_ on 11/27/06 14:56

[PHP5][SESSION] vars lose when i use session in a different script directory

example :

if i register a variable on script www.mysite.com/dir1/script.php

and i read c*variable session with www.mysite.com/dir2/script2.php

no variable!

if y read with the same directory in dir1, it's ok.

It's because the cookie save the directory. but i don't found function to
force all my session of my site to "/"

Thank you

 

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

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