Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: POE sharing data between sessions

by rcaputo (Chaplain)
on Jun 10, 2005 at 21:10 UTC ( [id://465689]=note: print w/replies, xml ) Need Help??


in reply to POE sharing data between sessions

It's okay to use global variables can act as shared memory between POE sessions. If you'd rather not use a global hash, you can always create a singleton object to act as an in-memory database for shared information. POE's web site has a chat server example that uses a global hash and an accessor to keep track of the users currently online.

POE's not nearly as fascist as people seem to think it is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-24 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found