如何结束页面刷新会话 [英] how to end session on page refresh

查看:87
本文介绍了如何结束页面刷新会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对放置了一些安全交易的页面进行编码.
我指示不要刷新页面.如何编写此功能的代码,以便在用户刷新页面时所有会话都结束并且将应用程序重定向到首页?
我应该在这里使用一些JavaScript吗?

i m trying to code a page in which some secure transactions are placed.
i gave a instruction not to refresh page. how to code this functionality that if user refresh page all session are ended and application redirected to homepage??
should i use some javascript here??
help me out!!

推荐答案

有关此主题的一些代码项目文章:

检测页面刷新 [在ASP.NET中检测刷新或回发 [
Some code project articles written on this topic:

Detecting Page Refresh[^]

Detecting Refresh or Postback in ASP.NET[^]


这篇关于如何结束页面刷新会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆