开发者

Can a page that ALWAYS redirects get a PostBack?

I've inherited an old Asp.Net website (I'开发者_开发问答ve had limited exposure to Asp & Web stuff).

One of the pages takes values from a query string, does some giggery pokery with them and then re-directs to another page.

The existing code has some Session State logic in there to remember the giggery pokery in case of PostBacks, but I'm wondering if it's necessary.

Can a page that always redirects be posted back?

Apologies if this is a dumb question


If it always redirects then no it cannot receive a postback, (from itself)

there are details of the page lifecycle here:

http://msdn.microsoft.com/en-us/library/ms972976.aspx


Sure, it could postback, but how is your setup? Without seeing, it's hard to give you any definitive answer.

Thanks.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜