Rank: Advanced Member Groups: Member
Joined: 7/20/2015 Posts: 52
|
Using EO 15.3.31.0, seeing this exception message in our application log sometimes and the application can crash or become unresponsive. The condition that seems to cause it is that one of the services we call via $.ajax from our page is unable to authenticate, and the prompt for username and password comes up but the user doesn't acknowledge the prompt because the application is hidden.
Any suggestions on how to prevent the error?
Is it possible to suppress the authentication prompt?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, You can handle this event to suppress the dialog: http://www.essentialobjects.com/doc/eo.webbrowser.webview.needcredentials.aspxIf you know the user name/password (or you can display your own dialog to ask for user for it), you can call e.Continue with the user name/password in your event handler. If you do nothing in your handler, then it will be the same as user cancel the dialog. This would effectively suppress the dialog. Thanks!
|