locked
passing application object RRS feed

  • Question

  • User-1279939347 posted

    Hi friends,

                         I want to access application object into another asp.net application.

    Ex :- http:\\www.xyz.com having one application object.

    i want to access that application object into www.abc.com asp.net application. How can i pass this object. it's very urgent need.

    Monday, August 27, 2012 2:52 AM

Answers

  • User1428339021 posted

    Application object is specific to App Domain for a web application. You cannot directly access application object of one application into another application.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 27, 2012 2:58 AM
  • User607059406 posted

    hi

    as one app can not access another app object. so u should use some persistence tech such as db or xml to save it, so that u can get it in another application.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 28, 2012 2:02 AM
  • User1308099060 posted

    Application and sessions are domain specific objects, you cannot access those objects directly. You need to think of different solution store object at somewhere and access from there.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 29, 2012 1:33 AM
  • User1308099060 posted

    You can also use the post method to communicate the application object among different doamins, 

    Use a controller action to manually POST the application object to the other domain, the POST will take place via an SSL connection 

    You can use database to store and retrive the application object, application object get created when first time website surfed. 

    You can also use hidden fields.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 29, 2012 1:41 AM

All replies

  • User1630798415 posted

    The best solution is to store the information thats common for multiple asp.net application is DB.

    because You can't get one application to "invalidate" the cache on another application.

    Monday, August 27, 2012 2:57 AM
  • User1428339021 posted

    Application object is specific to App Domain for a web application. You cannot directly access application object of one application into another application.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 27, 2012 2:58 AM
  • User607059406 posted

    hi

    as one app can not access another app object. so u should use some persistence tech such as db or xml to save it, so that u can get it in another application.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 28, 2012 2:02 AM
  • User1308099060 posted

    Application and sessions are domain specific objects, you cannot access those objects directly. You need to think of different solution store object at somewhere and access from there.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 29, 2012 1:33 AM
  • User1308099060 posted

    You can also use the post method to communicate the application object among different doamins, 

    Use a controller action to manually POST the application object to the other domain, the POST will take place via an SSL connection 

    You can use database to store and retrive the application object, application object get created when first time website surfed. 

    You can also use hidden fields.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 29, 2012 1:41 AM
  • User-1279939347 posted

    thanks to all for sharing your knowledge with me. 

    Wednesday, August 29, 2012 2:15 AM