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!