开发者

asp.net Page.PreviousPage Scope

I am using ASP.net 3.5 I have a page cross posting to another page which is unfortunately a requirement of my design. In order to access the values on the previous page which did the submission i define some set/get elements for the 3 values I need ie

public string sDesc { get { return Description.InnerText; } } 

Then on the page being crossposted to access them like

string Desc = ((AddNewBlogXSL)PreviousPage).sDesc; 

assuming I have

<%@ PreviousPageType VirtualPath="~/AddNewBlogXSL.aspx" %> 

on said cross posted page.

My question is the scope of PreviousPage. If I am using a server farm or webgarden is previous page available if i hit a different process or server? No guarantees my cross post hits the same server or process.

Also as a side note efficiency and scalability are important con开发者_运维知识库cerns for me, is there anything in this method that would really impact a high volume site?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜