Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 times login required?

 
amanjot singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Hi I am using form based authentication in my site www.scoopthemock.co.in .But When I login It redirects me again to login page and after second login it redirects to the correct page.I am unable to understand why it requires two logins to move to correct page

The part of web.xml for form based authentication is

<login-config>
<auth-method>FORM</auth-method>
<realm-name>Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/fail_login.jsp</form-error-page>
</form-login-config>
</login-config>

Any reply is appreciated
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic