Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > vars between instantiate class...
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 18th June 04:04
jabber
External User
 
Posts: 1
Default vars between instantiate class...



hi,

This is because the life time of an object is only as long as the page.
Two solutions: store the login attempt count in the cookies. If you want
persistent objects serialize them and save them to disk or db. and
deserialize them again on the next page. This will have to be coupled
with a uinique identifier (usually associated with a session) so that
you know which object belongs to which user.

--
http://www.raditha.com/php/progress.php
A progress bar for PHP file uploads.
  Reply With Quote


 


2 18th June 04:04
jswalter
External User
 
Posts: 1
Default vars between instantiate class...



Thanks.

That is waht I needed to know!

It works!

Thanks

Walter
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666