> I have a java applet on our intranet which queries the database for
> data via a ASP webpage using openStream() of URL class. This has
[quoted text clipped - 8 lines]
> web anonymous, but it doesn't seem to matter - I still get prompted.
> What can I do? The login would be an annoyance for users.
Some thoughts:
I have seen a login dialog popup occur when digest authentication is
turned on.
Is digest authentication mode turned on the web server?
I am also wondering if the applet needs to pass back the session id as
a cookie. The web server may see the openStream () request as being
a different session.
David Stevenson
Greg Province - 31 Oct 2003 18:58 GMT
> Some thoughts:
>
> I have seen a login dialog popup occur when digest authentication is
> turned on.
> Is digest authentication mode turned on the web server?
The digest authentication is off.
> I am also wondering if the applet needs to pass back the session id as
> a cookie. The web server may see the openStream () request as being
> a different session.
It does seem like the applet is having to create a new session.
But I'm unclear what you mean by "needs to pass back the session id as
a cookie"... Don't you mean that the applet could be passed in a
session id from the webpage so that it could re-use that session?