Reply to unserialize() problem

Your name:

Reply:


Posted by Harris Kosmidhs on 09/08/05 10:55

Hello all.

I wrote some php pages running on apache1.3/php4.4.0-1
In the login page I make use of a class where I store the users name and
some integers (i.e whether the user ia able to see a certain page) and
serialize the class to a session var. When you go to a page I
unserialize the session var and check if the user is permited to see the
page.

No when I moved the files to my host server running apache2/php4.3.2 a
strange problem appears. When I access the page for the first time the
session var is unserialized ok and so I can see the page. If I refresh
it this session var (and only this.alla the other session variables wotk
ok) is lost and I cannot unserialize it.

What may be the problem?

Thanks

[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

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