You are here: newbie: cookie not visible until next loading « PHP Language « IT news, forums, messages
newbie: cookie not visible until next loading

Posted by Jeff on 01/11/07 00:45

Hey

php 5.2.0

I'm developing a web site by using php. Registered users of the web site can
login to get access to member area. All the pages in the web site contains a
DIV which shows the name of the logged in person. The PROBLEM is that after
a person has logged in the name of the user isn't displayed. But it comes
visible if the user clicks on one pages in the web site...

This is as described in the php manual:
"Cookies will not become visible until the next loading of a page that the
cookie should be visible for."

I'm thinking of creating a dummy page which does nothing but redirect the
user to the correct page. Hope maybe this can solve the problem mention
above... , I'm not sure this is a good approach... maybe you have a better
approach, then please share it with me.. Because I'm stucked in this error

Best Regards

Jeff

 

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

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