Ask a Question related to ASP.NET Security, Design and Development.
-
Lev Vigdorov #1
Authentication between site and its virtual directory
I have a site that uses FormsAuthentication. I have a virtual directory
on this site, that is configured as a vitrual application and has it's
own Web.config file in it. What I'm trying to achive: once a user is
authenticated on to the "main" site, if he clicks a link redirecting to
a page located in that virtual directory (i.e. from:
[url]http://localhost/index.aspx[/url] to [url]http://localhost/dir/index.aspx[/url]), then
the user is automatically authenticated into the directory as well. No
success so far, Request.IsAuthenticated=false while on
[url]http://localhost/dir/index.aspx[/url] page, coming from
[url]http://localhost/index.aspx[/url]. <authentication mode="Forms"> in both
Web.config in the root and directory and <identity impersonate="true" />
in /dir/Web.config. I thought that the cookies set by
FormsAuthentication could be read on the same domain, am I missing some
other settings? Any ideas or references will be appreciated. Thanks in
advance!
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Lev Vigdorov Guest
-
virtual directory
Our corporate website uses coldfusion. We have developed a web time entry system that also uses coldfusion. I am trying to setup the new timentry... -
Web Application, virtual directory
Hi, here the situation: My purpose is to have one physical directory(PD) (c:\webapplication) and a lot of virtual directory(VD) pointing to ... -
Form authentication in a virtual directory
Is it possible to get forms authentication to work for a virtual directory in a site? I have been trying with the simplest MSDN sample but it... -
Have to Be A Virtual Directory?
I have a project named NET. It has .aspx and one .asmx files. This NET is a virtual directory and application in IIS: - All .aspx and one .asmx and... -
Deployment to a Web Site not a Virtual Directory
Hello Ian. I will have to send you a seperate email with an attachment in order to get this functionality. Currently the behavior you are seeing...



Reply With Quote

