网址隐藏和复制 [英] url hiding and copying

查看:84
本文介绍了网址隐藏和复制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
Folk''s



我正在开发lo-gin页面,大部分内容已经完成,我需要隐藏URL,即(如果我复制了lo-gin页面的URL并且我粘贴在新的标签地址栏中,则一定不要打开那个页面。



这是我的情景可以任意plz帮助我

















谢谢'&'''

mahesh.bpc

解决方案

使用会话 ...



在login_load事件中计算会话,但首先存储用户名在会话和检查中,即

  if (会话[  用户名] ==  null 
Response.Redirect( Home.aspx);
else
Response.Redirect( 的Login.aspx);


Hi Folk''s

I am developing lo-gin page and most of it is completed and i required to hide the URL i.e(if i copied the lo-gin page URL and i pasted in new tab address bar it must not open that lo-gin page )

It is my scenario can any plz help me out








thank''s®ard''s
mahesh.b.p.c

解决方案

Use session...

At login_load event count the session, but first store the username in session and check, i.e

if(Session["Username"] == null)
    Response.Redirect("Home.aspx");
else
    Response.Redirect("Login.aspx");


这篇关于网址隐藏和复制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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