문제

Is there an easier or a more efficient way to reload a page that a control(which holds the method) is on then this code?

this.Page.Response.Redirect(this.Request.Url.AbsoluteUri);

Need to reload a session variable on another page for a balance that my control updates that balance from. So I run through the code save the session variable then hit the code above to reload. Seems to work locally as well as on 2008 Windows Severs but when I try it on the 2012 Server it says the page can not display that way. Is there a better solution to the reloading of that? Thanks

올바른 솔루션이 없습니다

다른 팁

Response.Redirect(Request.RawUrl);

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top