Hi Carlos.

Create a session cookie with a unique, random name, and create a 
temporary file server-side with the same name to hold the session 
information, including session vaqriables.. That's how PHP does it 
according to Julie Meloni writing for "Webmonkey" 
 (http://www.webmonkey.com)  in her article "Authenticate and Track 
Users with PHP". She writes:

 >>>>>
a session is an ethereal blob that can hold all sorts of variables and 
values. This blob of stuff, also known as a session object, has an 
identification string. The identification string, such as 
940f8b05a40d5119c030c9c7745aead9, is sent to the user via a cookie 
called PHPSESSID. On the server side, a matching temporary file (think 
of it as the physical representation of the session object) is created 
with the same name (i.e., 940f8b05a40d5119c030c9c7745aead9).

Each session object has variables registered with it. Inside the session 
file, on the server, the registered variables and their values are kept 
safe and sound. Since these values and variables are not kept in a 
database, no additional system resources are required
<<<<<

Hpe this helps.

Elan



Carlos Lorenz wrote:

>Hello list,
>
>I'm  just thinking about wich is the best way to handle
>persistent words between HTML pages such as  PHP does
>with its session variables.
>
>Any thoughts?
>
>TIA
>
>Carlos
>
>  
>


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to