0 Replies Latest reply on Jun 25, 2003 2:27 PM by seasterling

    reasons to be forwarded to form-login-page

    seasterling


      hi All,

      As I understand it, given the following snippet from web.xml:

      <form-login-config>
      <form-login-page>login.jsp</form-login-page> <form-error-page>error.jsp</form-error-page>
      </form-login-config>

      I will get forwarded to login.jsp by JBoss in the following situations:

      * I attempt to access a secure resource and am not yet authenticated

      * My session has expired

      * My session ID is invalid

      My question is:

      Is there a way to distinguish between these situations in login.jsp? (i.e., why you are there?)

      Cheers,
      Stuart