刷新时如何避免页面返回索引页面 [英] how do i avoid page to go back to index page when refreshed

查看:78
本文介绍了刷新时如何避免页面返回索引页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我刷新时如何防止页面转到上一页或索引页面...我希望当我只刷新当前页面时应刷新..

how to prevent page to go to the previous or index page when i refresh..i want that when i refresh only the current page should refresh..

推荐答案

对于这种情况,您可以使用Session来存储用户选择的页面索引。
For this condition you can use Session to store the page Index selected by the user.


这篇关于刷新时如何避免页面返回索引页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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