Common place to check validation without building applications RRS feed

  • Question

  • User-1957798441 posted


    We have nearly 30 asp.net web application hosted on on single server. We want to check for e.g. we want to check whether a session variable exists

    on each and every page on all the web application. Instead of putting and re-building each application, is there a way where we can check some validation 

    on every page request and accordingly redirect the page some validation error page. without rebuilding all the web applicatiom

    Wednesday, April 10, 2019 5:40 AM

All replies

  • User-1174608757 posted

    Hi GanulnMumbai,

    According to your description, by default , sessions are saved in memory on server. So it is impossible for us to get the session by sessionId  without creating  the whole complete programs. So , in my opinion, if you want to check session and do nothing to your web application, you could change the mode of session, you could save session in a database, then if you want to check the status of session, you could just get  it from database .

    Here is the link,I hope it could help you


    Best Regards


    Thursday, April 11, 2019 3:04 AM