像后门一样登录 [英] Log in like backdoor

查看:165
本文介绍了像后门一样登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有几个选项供用户选择默认页面.在数据库中,我有一个表格,如果现场有新闻,则在其中手动注册新消息.如果数据库中的记录已更新,则带有新闻消息的info_page会自动设置为用户的默认页面.仅当用户首次登录门户网站时,才会显示信息"页面,然后,默认页面是用户选择的页面.一些用户可以作为后门登录.如果用户像后门一样登录,我不想更新数据库中的记录.
怎么做?请求参数?通过URL我不能做到这一点...任何想法???我正在使用经典的ASP,java&vb脚本

Hi all,

I have several options for user to choose default page. In database I have a table in which manualy register new message if there are news on site. If record in database updated, info_page with news message automaticaly set to default page for users. Info page is showing only if user login to the portal for first time, and then, default page is that which user choose. Some users can log in as backdoor. If user log in like backdoor, I don''t want to update record in database.
How to do that? QueryString? through url I can not do this... Any idea??? I''m using classic asp, java&vb script

推荐答案

哇,经典的ASP.我为您感到难过,为什么在2011年要这么做?最好的选择是在会话中存储一个值,或使用查询字符串传递一个值来告诉页面要做什么.
wow, classic ASP. I feel bad for you, why would you do that, in 2011 ? Your best bet is to store a value in the session or use the query string to pass on a value telling the page what to do.


这篇关于像后门一样登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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