0

I was trying to make my site working if browser cookies are disabled so tried with session and changed in web config with cookieless="AutoDetect" regenerateExpiredSessionId="true" in my registration form but now after filling form when i click to subim button page is again reloading and button click event is not fired.

4

1 回答 1

0

“如果使用 HTTP POST 方法发出使用过期会话 ID 的请求,则当 regenerateExpiredSessionId 为 true 时,任何已发布的数据都将丢失。这是因为 ASP.NET 执行重定向以确保浏览器具有新的URL 中的会话标识符。”

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

于 2013-12-04T19:56:12.823 回答