Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Persist shell app

by EdwardG (Vicar)
on Apr 02, 2004 at 14:57 UTC ( #341992=note: print w/replies, xml ) Need Help??

in reply to Persist shell app

Remember that the World Wide Web is intrinsically stateless (See What is stateless?), and this means that "trying to persist an application across web requests" is going against the grain from the outset.

It might be conceptually easier to think of your "persistent" application in client-server terms, where you interact with your application (server) using a web browser (client) to communicate messages. For example, your server application could respond to client "messages" that are queued in a file, taking action when it encounters new messages.

On the other hand, if you really want to persist with persistence <grin> then there are various options such as cookies (client side persistence) or CGI::persistent (server side persistence).

Good luck, and let us know what you decide.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2023-09-24 04:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found