Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Persist shell app

by bart (Canon)
on Apr 02, 2004 at 14:33 UTC ( #341986=note: print w/replies, xml ) Need Help??

in reply to Persist shell app

Perhaps you could use something based on HTTP::Daemon. merlyn has a few excellent articles on his web site doing something similar using Chatbot::Eliza. Check out the articles with a title like "Doctor is IN", namely Column 23 and Column 24.

The idea is that you have one script that starts out as a CGI, which contains the actual state, and which launches its own small webserver — and keeps running in the background. That one takes over for this session, processing all following requests from the browser, and all in the context of the current application.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2023-10-03 14:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found