467,877 Members | 1,257 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,877 developers. It's quick & easy.

Form based authentication for a web aplication in subdirectory

hai

i have My Asp.net Project in C:\AspNetproject

AspNetproject have To sub Folder. 1) Forums and 2) users

Exe : C:\AspNetproject\Fourms
Exe : C:\AspNetproject:\users

The Fourms Foldder Having Topic.aspx,startThread.aspx , Replay.aspx

The users Folder having Login.aspx and Forget.aspx , newuser.aspx

i setting in web config File

<authentication mode="Forms">
<forms name=".AspAuth" loginUrl="~/User/Login.aspx"
protection="All" path="~/"
defaultUrl="default.aspx" timeout="30"></forms>
</authentication>
<location path="~/Forums/startThread.aspx" >
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>

The user not Login , the user not go to startThread .aspx File

how to set Form based authentication for a web aplication in
subdirectory

pls advice me

With regards
Solai

Mar 2 '06 #1
  • viewed: 1621
Share:
1 Reply
DWS
Sivan,

Use the asp.net website configuration tool in visual studio.

Good Luck
DWS
"si*********@gmail.com" wrote:
hai

i have My Asp.net Project in C:\AspNetproject

AspNetproject have To sub Folder. 1) Forums and 2) users

Exe : C:\AspNetproject\Fourms
Exe : C:\AspNetproject:\users

The Fourms Foldder Having Topic.aspx,startThread.aspx , Replay.aspx

The users Folder having Login.aspx and Forget.aspx , newuser.aspx

i setting in web config File

<authentication mode="Forms">
<forms name=".AspAuth" loginUrl="~/User/Login.aspx"
protection="All" path="~/"
defaultUrl="default.aspx" timeout="30"></forms>
</authentication>
<location path="~/Forums/startThread.aspx" >
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>

The user not Login , the user not go to startThread .aspx File

how to set Form based authentication for a web aplication in
subdirectory

pls advice me

With regards
Solai

Mar 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Amil | last post: by
reply views Thread by Dotnet Guy | last post: by
6 posts views Thread by Scott Natwick | last post: by
2 posts views Thread by ad | last post: by
1 post views Thread by wdy | last post: by
2 posts views Thread by wiktor.dzierzecki | last post: by
1 post views Thread by Benton | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.