You are here: Re: -> PHP4 Singleton implementation question <- « PHP Programming Language « IT news, forums, messages
Re: -> PHP4 Singleton implementation question <-

Posted by Sanders Kaufman on 12/05/06 20:58

Jerry Stuckle wrote:
> Sanders Kaufman wrote:

>> It *resumes* a session?!
>> If I put a bunch of values into session variables, how do I get those
>> back with the resumed session... and how do I make sure I resumed the
>> right session?
>
> Just call session_start() on every page that uses sessions. PHP ensures
> the correct session id is used again.

So with this page:

-----
session_start();
$_SESSION["MyVar"] = 123;
----

When the user reloads, MyVar *will* equal 123?
It's that simple?

When I was trying to learn about them, I ran into something to do with
ob or ob_flush. Was I on a wrong tracK?

 

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

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