ASP.NET Push Redirect on Session Timeout

前端 未结 10 1884
Happy的楠姐
Happy的楠姐 2020-11-29 21:04

I\'m looking for a tutorial, blog entry, or some help on the technique behind websites that automatically push users (ie without a postback) when the session expires. Any h

10条回答
  •  不知归路
    2020-11-29 21:53

    In the section, use a META refresh tag like this:

    
    

    where 0000 is your session timeout in seconds, and target_page.html the address of the page to be redirected to.

提交回复
热议问题