locked
what are the chances that two or more website or web application have same application id...they are hosted on the different web server ? RRS feed

  • Question

  • User2091712932 posted

    hi...

    I have to monitor some web-site for that i have to mantain some data base that is comman for all the site .... but i am confuse about how i can differentiate web-site from each othere if those are hosted on the different web server

    Monday, October 29, 2012 2:49 AM

Answers

  • User-481311247 posted

    1. Use config file to store server name and update/insert/provoide same name while query to database. So that you can understand from which website this request is comming from. You can pass this server-name as addition parameter to sp.

    or

    2. You can differentiate with the basis of request URL.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 29, 2012 3:11 AM

All replies

  • User-1315512054 posted

    Hello,

    You should have a database field that contain the site name/server.

    Regards

    Monday, October 29, 2012 2:57 AM
  • User-481311247 posted

    1. Use config file to store server name and update/insert/provoide same name while query to database. So that you can understand from which website this request is comming from. You can pass this server-name as addition parameter to sp.

    or

    2. You can differentiate with the basis of request URL.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 29, 2012 3:11 AM