Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Creating Socket Connections that are persistent across multiple page loads in a single web session

by unlinker (Monk)
on Jan 06, 2011 at 10:31 UTC ( #880790=note: print w/ replies, xml ) Need Help??


in reply to Re: Creating Socket Connections that are persistent across multiple page loads in a single web session
in thread Creating Socket Connections that are persistent across multiple page loads in a single web session

Thank you for your advice. I have recently moved away from mod_perl to relying on Plack-based frameworks. The problem I am trying to solve is having a single socket per authenticated-session rather than one per httpd process.

However the principal part of your suggestion (if I have understood you correctly): keep the socket creation code in a separate module that is different from the code that handles the web request is clearly the way to go in any persistent web framework. So thanks for that.


Comment on Re^2: Creating Socket Connections that are persistent across multiple page loads in a single web session

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://880790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-08-30 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls