[jifty-devel] MySQL: Transparent reconnect

Thomas Themel themel at blackwhale.net
Wed Sep 6 02:38:52 EDT 2006

Jesse Vincent (jesse at bestpractical.com) wrote on 2006-09-06:
> From within your app's mason templates, try:
> % use YAML
> <%YAML::Dump(\%ENV)%>

You're right, the actual environment when handling a request is a lot
richer than the environment of the long-running fastcgi server process,
and actually has GATEWAY_INTERFACE="CGI/1.1" set - however, that doesn't
affect the state of the MySQL handle, since it only checks for
GATEWAY_INTERFACE in the connect() method, which is called during jifty

[*Thomas  Themel*] And let's not forget USNS Bob Hope.  I bet that name inspires
[extended contact] the crew as much as the old Flower Class Corvettes did.
[info provided in]
[*message header*]                 - Paul Tomblin in the monastery

More information about the jifty-devel mailing list