Re: -> PHP4 Singleton implementation question <-
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 05 Dec 2006 08:12:32 -0500
Sanders Kaufman wrote:
Steve JORDI wrote:
Yes, that did it! THANKS!!!
I didn't know that session_start() was also used to resume a session.
I thought that having it once was enough, but as you said, the web
being a stateless environment...
Wow, now I know that, it seems logical :-)
I've had such problems figgering this out, I resorted to writing my own session handling. Getting this down would *seriously* cut back on the number of lines of code I have to write!
So...
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.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: -> PHP4 Singleton implementation question <-
- From: Sanders Kaufman
- Re: -> PHP4 Singleton implementation question <-
- References:
- -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Dikkie Dik
- Re: -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Jerry Stuckle
- Re: -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Jerry Stuckle
- Re: -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Jerry Stuckle
- Re: -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Jerry Stuckle
- Re: -> PHP4 Singleton implementation question <-
- From: Steve JORDI
- Re: -> PHP4 Singleton implementation question <-
- From: Sanders Kaufman
- -> PHP4 Singleton implementation question <-
- Prev by Date: Re: Coding standards without control?
- Next by Date: Re: php 5 classes: public, protected and private
- Previous by thread: Re: -> PHP4 Singleton implementation question <-
- Next by thread: Re: -> PHP4 Singleton implementation question <-
- Index(es):
Relevant Pages
|