RE: Maintaining the current context .user between sites

From: Jorge Matos (JorgeMatos_at_discussions.microsoft.com)
Date: 10/22/04

  • Next message: Sam Fields: "Server Error: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll."
    Date: Fri, 22 Oct 2004 06:55:01 -0700
    
    

    HttpContext is specific to an application domain, the "factory" website has
    its own domain and hence its own application domain. I would try to
    configure the "factory" web site to not be its own application but instead to
    be a simple folder in your application.

    "Anthony" wrote:

    > Hi there,
    >
    > I am not sure if what i am after can be done but if anyone can shed
    > any light on the topic.. Basically i have a website that logs in the
    > user and puts there details in the context.user.. Then on the same
    > server and domain i have a virtual directory to another application
    > within the same site called 'factory'.. So this is accessed by
    > navigating to
    > www.domain.com/factory
    >
    > however when i navigate here the context.user has been cleared.. Is
    > there any way around this situation.. The 'factory' is being developed
    > by another company in VB so i can integrate it directly into my c#
    > project..
    >
    > Any ideas
    >
    > Thanks
    > Anthony
    >


  • Next message: Sam Fields: "Server Error: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll."