For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > June 2005 > http server with automatic session loading









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author http server with automatic session loading
Nick Sutterer

2005-06-08, 9:04 pm

hi guys,

i'm looking for a component (or an extension thereof) which automatically
loads (thaws)/freezes a POE session in a http server, according to the
session-id which comes via cookie/get/post/whatever.
looking at the http-server PoCo i guess that's quite easy to implement, but
perhaps there's already such a component.

any hints would be great!
cheers,


nick
Nick Sutterer

2005-06-08, 9:04 pm


> That seems like an interesting concept, but freezing/thawing a POE
> session is something new to me, could you elaborate on what you plan to
>

the problem is old: the POE http server starts a new poe session per request
which does it's job and is serialized afterwards. if the server gets another
request and detects that this request is aimed at a certain session it
de-serializes this session, passed args to it and serialzes the session again
after the job is done. i was just wondering if someone has written a PoCo
about this session-detection-and-automatic-session-restoring. i saw something
like that in XUL::Node, for example.


cheers,


nick
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com