INTELLIGENT WORK FORUMS FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a Computer / IT professional? Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
Favorite Forums
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site

(Download This Button Today!)
Member Feedback
"...These forums are an excellent source and example of the way people can help each other..."
Geography
Where in the world do Tek-Tips members come from?
|
Invalid direct reference to form login page ???
|
|
Hi,
I'am trying to access my webpages with the form based authentication but i have always the same message: Invalid direct reference to form login page The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
Why this happen?
How can i login to my page directly from login page?
Ricardo |
|
this is happening because if you use FORM Authentication, and if you go directly to login page to login (assuming valid login userid and password), the servlet engine will redirect back to where ever the last request to access restricted page (or resource) and in your case it was the login page. That's why you get that "Invalid direct reference to form login page" message. The idea is that you cannot login directly from your login page. You first have to goto a page other than the login page such as index.jsp or mydata.jsp (which are restricted resource), and then the web-server will automatically redirect you to the login page and once you have valid login, the web-server will automatically redirect you back to the restricted page such as index.jsp or mydata.jsp, etc. I hope you get the idea.
Will |
|
|
 |
|