Problem in forms authentication

R

rsv

Hi friends,

We have an web application which contains several folders & we are
trying to implement forms authentication.

Login page for the application is residing in root directory.
When I try to access any of aspx page in a subfolder, authentication
is
done properly but it does not redirect user to login page (tries to
find the login.aspx) in the subfolder & gives error as "resource can't
be found"

Code in Web.Config :
<authentication mode="Forms">
<forms name="NeulandCookie" path="/" loginUrl="/login.aspx"
protection="All" timeout="30">
</forms>
</authentication>

can anyone help me for solving this??

Thanks & Regards,
Rasika.
 
D

Daniel Fisher\(lennybacon\)

funny? hmm, "login.aspx" is default - try to use:

<authentication mode="Forms">
<forms name="NeulandCookie" path="/"
protection="All" timeout="30">
</forms>
</authentication>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top