c# - Regarding cookies accessibility in virtual directories -


i have 1 application , 2 virtual directories in iis, want restrict access of cookie between virtual directories i.e not want cookie created in 1 virtual directory accessed in 2nd directory. how can prevent this?

thanks

i suggest make use of

httpcookie.path property - gets or sets virtual path transmit current cookie.

this allows differentiate between 2 virtual directory.


Comments