Re: [Phplib-users] Persistent sessions.
Brought to you by:
nhruby,
richardarcher
From: Jesse S. <je...@sw...> - 2002-11-08 16:48:23
|
They want them to persist forever, somewhat like the user class does. Except there is no user, so it would have to be based on session id. You mentioned never expiring the session. How is that done. Realistically, I suspect the sessions would eventually time out, say after three or four months. Suggestions? -- Jesse > From: Chris Johnson <ch...@ch...> > Reply-To: Chris Johnson <ch...@ch...> > Date: Thu, 7 Nov 2002 21:44:00 -0600 > To: Jesse Swensen <je...@sw...> > Cc: "php...@li..." <php...@li...> > Subject: Re: [Phplib-users] Persistent sessions. > > On Thu, Nov 07, 2002 at 04:58:57PM -0500, Jesse Swensen wrote: >> It has been a while since I delved into phplib. But I have been asked to >> modify an existing site. When a user hits the site a session is started. >> No need to authorize, just create variables to be persistent for that >> session. Now the customer wants those variables to be persistent beyond the >> current session. Otherwise, the session never expires. > > They want the variables to persist until when? Until the user comes back? > How do you know it's the same user? By session ID? Might as well make the > session never expire, then. > > Either I don't understand what you are asking correctly, or what the customer > is asking for doesn't make sense. > > -- > ..chris |