Also i am using asp.net form authentication with following configuration
When I run my web application(Vs-2010) I expect that it should redirect to login.aspx, but application start with default.aspx or Details.aspx based on which form has focus at design time. I even try it after hosting to IIS but again same result.
Please suggest what can be Issue.

Javeed M ShaikhRank #839 · 2.7K reputationPosted Nov 3, 2011, 10:23 AM EDT
also see that your authentication cookie is not set.
Ashish Khandelwal8 reputationPosted Nov 4, 2011, 7:55 AM EDT