Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 uthentication mode="Forms

Author  Topic 

neojapanese
Starting Member

13 Posts

Posted - 2006-03-05 : 22:28:26
why would this code not take me to my login page if i try to view a .axp page in the same folder

__________________________
<configuration>
<system.web>
<authentication mode="Forms">
<forms
name=".MyCookie"
loginUrl="/login/mylogin.aspx"
protection="All"
timeout="80"
path="/"/>
</authentication>
</system.web>
</configuration>

_________________________
i get this when i try to view a page thats in the same dir...it should take me to my login page
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine

karuna
Aged Yak Warrior

582 Posts

Posted - 2006-03-05 : 22:38:03
Can you disable the custom error settings and see whats the error you are getting?

Karunakaran
Go to Top of Page

bhar
Starting Member

9 Posts

Posted - 2006-03-24 : 05:35:54
Hi,

modify this statement
loginUrl="/login/mylogin.aspx"

to

loginUrl="/mylogin.aspx"

Try this title: Develop your own Web Accounting Application using ASP.Net. ( you ask with souce code )

Regards
Bhar

Go to Top of Page
   

- Advertisement -