D
Dotnet Guy
I have set up forms authentication for my web application.
I have several subdirectories inside a main directory and
I have forms authentication for each of my sub directories.
In the logon page when the user is authenticated, I have
FormsAuthentication.RedirectFromLoginPage(txtLogonid.Text,
False)
And in the web.config files of my subdirectory, I have
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="../Default.aspx" timeout="20"/>
</authentication>
<authorization>
<deny users="?" />
</authorization>
-------------------------
This works absolutely fine without any problems. When I
deployed my entire app to a new server, I started getting
problems. When I click a link to the subdirectory, it
redirects me to a logon page, which means I'm not
authorized.
Does this mean that my Authentication ticket has not been
created or what? I do not understand. The same copy of the
application still works fine in my old server. Do I have
to change any settings in my new server?
Any help is appreciated.
Thanks,
Sudhir.
I have several subdirectories inside a main directory and
I have forms authentication for each of my sub directories.
In the logon page when the user is authenticated, I have
FormsAuthentication.RedirectFromLoginPage(txtLogonid.Text,
False)
And in the web.config files of my subdirectory, I have
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="../Default.aspx" timeout="20"/>
</authentication>
<authorization>
<deny users="?" />
</authorization>
-------------------------
This works absolutely fine without any problems. When I
deployed my entire app to a new server, I started getting
problems. When I click a link to the subdirectory, it
redirects me to a logon page, which means I'm not
authorized.
Does this mean that my Authentication ticket has not been
created or what? I do not understand. The same copy of the
application still works fine in my old server. Do I have
to change any settings in my new server?
Any help is appreciated.
Thanks,
Sudhir.