On Fri, 2005-12-23 at 09:03 +0100, [EMAIL PROTECTED] wrote:
> So why is the session always on a persistent layer (in 
> file/database/etc) and not in memory of mason/perl like a normal hash?

You need to read about how apache works.  The server runs multiple
processes with no sharing of data.  You can use threads in apache 2, but
most people will still use a database for this so they can handle
clusters of servers, fail-over, etc.

> And whats the connection of the real session (tags in url/cookie) with 
> this memory area?

Please read the Apache::Session or CGI::Session docs.  The thing you put
in the URL or cookie is just an identifier.  It has no actual session
data in it.  This is pretty standard for other platforms (Java, ASP,
etc.) too.

- Perrin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to