Discussion:
Strange dialog box.
Mark Lubratt
2008-10-07 15:21:12 UTC
Permalink
Hello!

I'm trying to clean up the login procedures on my application.
Currently, the program logs in to the database using a low privilege
user to retrieve the list of authorized users. This is presented to
the user on a login screen and prompted for their password. The
application then disconnects from the database and attempts to re-
connect using the new information (user and password). If the
password is wrong, I get a dialog box saying that the connection was
lost and a paragraph about whether or not it is actually an error.

Where is this dialog box coming from? I have AutoDialog=False in the
constructor of the socket. I'd like to keep track of the number of
login attempts and quit the application after a set number of tries.
This dialog is getting in the way of my efforts. Does anyone know how
to disable this dialog? Or, am I possibly doing something wrong in my
coding causing this to appear?

Thanks!
Mark
Mark Lubratt
2008-10-07 16:03:53 UTC
Permalink
OK. Nevermind. I had AutoDialog=False apparently in the wrong place...
Post by Mark Lubratt
Hello!
I'm trying to clean up the login procedures on my application.
Currently, the program logs in to the database using a low privilege
user to retrieve the list of authorized users. This is presented to
the user on a login screen and prompted for their password. The
application then disconnects from the database and attempts to re-
connect using the new information (user and password). If the
password is wrong, I get a dialog box saying that the connection was
lost and a paragraph about whether or not it is actually an error.
Where is this dialog box coming from? I have AutoDialog=False in the
constructor of the socket. I'd like to keep track of the number of
login attempts and quit the application after a set number of
tries. This dialog is getting in the way of my efforts. Does
anyone know how to disable this dialog? Or, am I possibly doing
something wrong in my coding causing this to appear?
Thanks!
Mark
_______________________________________________
Postgresql mailing list
http://aliacta.com/mailman/listinfo/postgresql_aliacta.com
Aliacta Support
2009-03-25 22:39:45 UTC
Permalink
I will be completely unavailable till the end of April. Then back on
and off but generally off until the end of September. (From October
on I'll be back in a normal office setting for several years with my
usual turnaround of about 2 hours on e-mails, for those of you who
remember those times... ;-)

We have also experienced some downtime with our mail and web servers
and hopefully this is now solved, but if you don't get through please
keep trying.

Cheers,

Marc

Loading...