You are here: userialize bug? « PHP Programming Language « IT news, forums, messages
userialize bug?

Posted by Harris Kosmidis on 09/09/05 12:16

Hello, I use php4.4.1 and when a user log in I use a class which stores
some info for the user. I serialize the class in a session variable.
I later on read the session var and unserializd to check for certain
user info.

When I moved the files to my host server which uses php4.3 I noticed a
strange behaviour. The first time I unserialize the session var is ok.
But then this session var gets empty.
To overcome this I have to serialize the class again before leaving the
page. But that does not always work.

Has anybody else seen this behaviour?

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

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