c# - Passing data between a parent app and a virtual directory -
i have application runs child application in virtual directory.
i want pass value parent application, believe session keyed per application, , won't work.
to further complicate things, parent application webforms, while child nvelocity mvc.
does know trick allows me use sort of session type functionality between virtual applications?
edit: webservice isn't had in mind, need pass logged in users username child app. besides, if calling webservice on parent, won't same session, won't know user.
sounds web service way go. following:
- have webforms app create data in database key of kind associated it.
- pass key in url nvelocity mvc application.
- allow nvmvc application call web service (rest,xml-rpc,soap,whatever) on webforms app using key passed.
this around kind of session keying or cookie-domain problem may have , allow pass nicely structured data.
Comments
Post a Comment