I am trying to solve a problem.

I have created a login form that authenticates a user into webseal,
but if the user enters their username and password again it takes them
to a change password / logout screen not to the application screen
that was created. My question is this: In an HTML / Javascript world
how can I detect if a user is currently authenticated to webseal? My
users like being able to login via our intranet webserver that is not
protected by webseal or our current product.

An example would be nice.

Noral Kuhlmann