[Mono-list] Npgsql.dll

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Sat May 14 12:23:34 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carl Olsen wrote:
> I got around my problem by doing a "try ... catch" around the database
> connection and doing a redirect back to the page in the "catch" section.
> It's not perfect, but it keeps the page from throwing an error when I hit
> the refresh button.
> 


Also, althought not recommended, you could turn connection pooling off,
with Pooling=No in your connection string.

The problem would be that connection startup time of Npgsql connection
is a little long and you could suffer of low performance. :(




- --
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://gborg.postgresql.org/project/npgsql
MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org


- -------------
"Science without religion is lame;
religion without science is blind."

                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQoYmBv7iFmsNzeXfAQLlxAgAgA4gNOZwfpH3KhycBR4E3j3gjnYaYSRP
KOUf5FSG+GLU8T4g1zqWsOHDMFhu62fNLxNTSnD6DiDtzzsKpjXanhbcawb8pFn1
Zwrphyr3a/+F6heT94kOsbgJ6SEM+6hlQC0RO9HNIk2OFl8V5Q0uM1PzJiUgNmh+
PxCqDuOpeiBDDd5m5VXEzkHrHvrnivuVasClBETxl6l5qurA7r37x4Lbxuk+z6eh
DO+gFDPA8yr1yvQB4EyIxrA1Im6uz9ZlQc5VYRgrLAadLVIlBMlvSY6m3h57BbXt
ofBp+DQw1KTB7LQHbbsZ3JJ5pEmJcfkJxxjRwqHbc13D/B1KijWfZg==
=4t9k
-----END PGP SIGNATURE-----



More information about the Mono-list mailing list