You are here: Re: Session file pretty print « PHP Programming Language « IT news, forums, messages
Re: Session file pretty print

Posted by zurg on 11/22/10 11:27

Erwin Moller
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote in
news:433153ed$0$11062$e4fe514c@news.xs4all.nl:

>
> Hi,
>
> SOmething like this could help:
> 1) Open the file
> 2) unserialize it into some variable ($mySes)
> 3)
><pre>
><? var_dump($mySes); ?>
></pre>
>
> That gives a better formatted overview.
>
>
> Regards,
> Erwin Moller
>

This is not so simple, session data is not quite the same as serialize
data (there is an extra field for variable name).

And if session contains class objects, they should be defined
before unserializing...

 

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

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