Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms authentication

Status
Not open for further replies.

verde4

Programmer
Jun 18, 2003
16
ID
I want to ask you all about Forms authentication.
There is something happen that confusing me :)

I already set the authentication in web.config :

<authentication mode=&quot;Forms&quot;>
<forms name=&quot;.ASPXAUTH&quot; loginUrl=&quot;Login.aspx&quot; />
</authentication>

and login page :

FormsAuthentication.RedirectFromLoginPage(txt_UserID.Text, False)

The problem is..
If I use localhost ( , my application run well.
but if i use my computer name, my application always return to login page.
there is something I should do?

thanks for ur help
Angela
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top