Reply to Re: why a session-based program behaves different on different computers

Your name:

Reply:


Posted by Vince Morgan on 04/24/07 13:44

"Vince Morgan" <vinhar@REMOVEoptusnet.com.au> wrote in message
news:462e035a$0$22844$afc38c87@news.optusnet.com.au...
> <davidkoree@gmail.com> wrote in message

I forgot to offer any real context.

print_r($_SESSION["f5s"]->_status); // -- bad one --
/* This is bad one.
* For example, if user has finished 3 steps, the $_SESSION["f5s"]-
>_status should be:
* { [step_1] => done, [step_2] => done, [step_3] => done }
* But on some client computers the $_SESSION["f5s"]->_status may look
like this:
* { [step_1] => done, [step_3] => done }

At this point the previously saved state of the session data could be
reloaded. The session id would still be the same at this point, so the
correct file to load can easily be idendified.

* or this:
* { }
* If we refresh the browser on or more times, the $_SESSION["f5s"]-
>_status would be complete (or uncomplete).

If after reresh, and data is missing, samo. I'm not sure that JS would be
required for this, though I beleive it would.
Vince

[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

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