hemant
5/26/2006 3:03:00 AM
I am making a connection to a application server and getting some data
at a interval of 10 sec and all this is done in Ajax. Now the problem,
once i get the first cycle of data...my connection object dies...so for
the second connection request, which is invoked just 10 seconds after
first one...a new connection object is created and i don't really like
this.
The sad part...is i have defined already a wrapper around connection
class to make sure singleton patterns and all.but still the same thing.
Is there anyway...i can have persistent objects in the Apache Server
side.
I am uisng Ruby-1.8.4 and Rails-1.1.2.