share same session across sub domains.

  • Thread starter Thread starter guoqi zheng
  • Start date Start date
Each virtual directory in IIS will cause a new AppDomain to get loaded into
ASP.NET. The AppDomain is the boundary for objects, thus all Session data
is scoped to the AppDomain, and thus scoped to each virtual directory (BTW,
this is with the default InProc session state). You can share cookies across
those applications, so an approach would be to store your data in a database
and use the shared cookie to identify the data in the database.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top