M
Manuel Lopez
Hello,
We have two applications that will reside on the same webserver.
We want to be able to post from pages in App1 to to pages in App2.
We need to pass sensible data, so we cannot use querystring.
We are using server.transfer (needing to reference App2 in App1).
When we call a page in App2 from App1, the ApplicationDomain doesn´t
change when page in App2 loads, being this the one of App1.
When we try to post on the loaded page of App2, we get an execption of
invalid viewstate.
HttpException (0x80004005): El valor de viewstate no es válido para
esta página y puede estar dañado.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain() +423
Is this approach of using server.transfer valid between applications
(web projects)?
Or can you only use it in the same application domain?
Thanks for any guiadance or help.
Manuel
We have two applications that will reside on the same webserver.
We want to be able to post from pages in App1 to to pages in App2.
We need to pass sensible data, so we cannot use querystring.
We are using server.transfer (needing to reference App2 in App1).
When we call a page in App2 from App1, the ApplicationDomain doesn´t
change when page in App2 loads, being this the one of App1.
When we try to post on the loaded page of App2, we get an execption of
invalid viewstate.
HttpException (0x80004005): El valor de viewstate no es válido para
esta página y puede estar dañado.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain() +423
Is this approach of using server.transfer valid between applications
(web projects)?
Or can you only use it in the same application domain?
Thanks for any guiadance or help.
Manuel