locked
How to handle each session in Classlibrary project RRS feed

  • Question

  • User-510141866 posted

    Hi to All!

    I have to create one Classlibrary project to handle the multiple session.

    In web project, we will add that session_proj.dll  as reference.

    in global.asax file call the method as obj.Start(); in session_start() event.  obj.Stop() method in session_end() event;

    in Start() method capture the session starting time and in  Stop() method capture the session stop time. And save it in database with few other values.

    using Guid to identify the each session from different user and different browser.

    The problem is in Stop() method ,it shows session is null.

    Thanks

    Thursday, October 8, 2015 1:22 AM

All replies

  • User614698185 posted

    Hi aspsak,

    I can't see the code about how to set session. So, you could set some breakpoints on Stop() method to debug your code to look for the cause.

    Best Regards,

    Candice Zhou

    Friday, October 9, 2015 1:31 AM