Re: resource handle - keeping alive?

From: Date: Mon, 10 Nov 2003 16:23:12 +0000
Subject: Re: resource handle - keeping alive?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-169047@lists.php.net to get a copy of this message
Hi Martin, This is unfortunately not something that has an easy work around. I have seen a post by Dan Joseph with what looks like a good suggestion. If my understanding of J2EE is correct, i believe you will be able to persist connections between two different pages if you use java servlets. all the best Martin Helie wrote:
Hi Chris, yes, that's precisely my problem (I had read the notes). This seems like something people would want to do, so I'm surprised no one's found some workaround. Any other ideas? "Chris Shiflett" <shiflett@php.net> wrote in message news:20031110154221.38129.qmail@web14307.mail.yahoo.com...
--- Martin Helie <martin@bang.ca> wrote:
no, unfortunately, that doesn't work; it creates a permanent socket on the server, but between page reads, php still loses its resource id, and can't communicate with the socket...
     
The last two user notes on this page seem relevant: http://www.php.net/pfsockopen Hope that helps. Chris ===== My Blog
    http://shiflett.org/
HTTP Developer's Handbook
    http://httphandbook.org/
RAMP Training Courses
    http://www.nyphp.org/ramp
   
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.

« previous php.general (#169047) next »