how to abandon child application session when logout parent application place in same virtual directory RRS feed

  • Question

  • User1094269964 posted

    Hi Team,

    Lets say we have parent application and child application are hosted in the same virtual directory.

    Child virtual directory is placed inside parent virtual directory.So the child inherts the parent web.config also (In the parent we have SSO configured)

    When we logout from parent application we are calling Session.abandon() this kills the parent session.

    But we want to know how to kill child application session if it is alive in the parent itself ?

    Please help.

    Thursday, July 7, 2016 3:51 AM

All replies

  • User-162810990 posted


    I think you can try to call child application's method which can clear the session in parent application.

    For example:

    Write a button in parent application which will redirect to child application's webmethod.

    Saturday, July 9, 2016 9:22 AM
  • User-1404113929 posted


    better to use state server or sql server mode for session handling. other wise it may creates security and memory leaks for your applications.



    Thursday, August 4, 2016 5:41 AM