Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 about the Monastery: (6)
As of 2016-06-25 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.