Re: hello

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <20120721114740.GB368@Dago>
godperl7 schrieb am 21.07.2012 um 13:30 (+0800):
> Dancer:Plugin:Database takes care of ensuring that the database handle
> is still connected and valid.
> If the handle was last asked for more than connection_check_threshold
> seconds ago, it will check that the connection is still alive.
> If the connection has gone away,Dancer:Plugin:Database will use some
> methods to create and obtain a new connection.
> But i can't understant how the new connection get the information of
> the last disconnection and maintain the last disconnection's sessions

It does neither. The connection is lost, and the session is lost with
it. That's usually not a big deal, just reconnect.

I could imagine a database server or middleware that keeps the session
persistent but I've never seen any, probably for a reason: there would
be lots of complications.

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.