www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Persistent shell

Re: Persistent shell

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Fri, 7 Jan 2011 12:53:16 +0100

hi,

Not possible and I don't think we will ever implement it in the PHP
binding. Everything is destroyed at the end of a request, it is
possible to have persistent connection for some databases but that's a
very special case. And even for this case, we recommend not to do it.

Cheers,

On Fri, Jan 7, 2011 at 11:26 AM, Samuel ROZE <samuel.roze_at_gmail.com> wrote:
> Hi,
>
> ssh2_shell give me an interactive shell, but when the PHP page is
> loaded, the connection is closed. What I want is that between pages,
> the connection stay alive...

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-07

the libssh2 team