当用户自动单击后退登录时 [英] when user click the back signout automatically

查看:80
本文介绍了当用户自动单击后退登录时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个网站,当用户登录并自动按登出后
和其他人仅在我的URL是(traininglog.com)和未经授权的用户来写(traininglog.com/login_success.php)的情况下,才访问更改URL的页面,但我不想直接打开页面/> 只有授权用户才能访问我的登录成功页面.

i am making a web site when user log in and press back its sign out automatically
and other person not access my pages changing url only like if my url is (traininglog.com) and un authorized user come and write (traininglog.com/login_success.php)our page is open but i want not open the page directely
only authorised user access my login success page

推荐答案

错误的主意.我无法想象如果您这样做,还会再次使用您的网站的用户.同样,它也无济于事.用户可以在浏览器地址行中简单地输入反向URL.你不能阻止它.
甚至都不要尝试!

—SA
Bad idea. I cannot imagine the user who would use your Web site again if you do such things. Also, it would not help you in any way. The user can simple enter the back URL in the Browser address line. You cannot prevent it.
Don''t even try!

—SA


这篇关于当用户自动单击后退登录时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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