467,906 Members | 1,663 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Virtual directory and Forms Authentication

I an application that i want to set up for two clients.

http://localhost/client1 <- virtual directory.

http://localhost/client2 <- virtual directory.

Now, i don't want these application to read each others information.

I did not see where, In the asp.net forms auth. where i can specify the
path.

1. if client1 sets FormsAuthentication.setCookie() auth. cookie, will
it overwrite client2's auth. cookie?

2. If client2 can read client1's cookies, can it decrypt it? or it's
just a meaningless string even if it it can access it?

3. What else should i know for virtual directories asp.net apps. that
share one domain?

Thanks.

Nov 22 '05 #1
  • viewed: 1996
Share:
1 Reply
Tascien,

You'll need to explicitly create the forms authentication cookie yourself,
then you can set the path.

see:
http://msdn.microsoft.com/library/de...SecNetHT04.asp

HTH,
Jorge L Matos

"tascien" wrote:
I an application that i want to set up for two clients.

http://localhost/client1 <- virtual directory.

http://localhost/client2 <- virtual directory.

Now, i don't want these application to read each others information.

I did not see where, In the asp.net forms auth. where i can specify the
path.

1. if client1 sets FormsAuthentication.setCookie() auth. cookie, will
it overwrite client2's auth. cookie?

2. If client2 can read client1's cookies, can it decrypt it? or it's
just a meaningless string even if it it can access it?

3. What else should i know for virtual directories asp.net apps. that
share one domain?

Thanks.

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by John Boghossian | last post: by
1 post views Thread by Dru Snyder | last post: by
4 posts views Thread by tshad | last post: by
6 posts views Thread by Scott M. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.