如何使用C#加密asp.net中的StatusBar Url [英] How to Encrypt StatusBar Url in asp.net with c#

查看:81
本文介绍了如何使用C#加密asp.net中的StatusBar Url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

在这里,我在我的项目中遇到了问题.在我的项目中,我在Url中加密查询字符串.但是我无法对状态栏进行加密.因此,请帮助我了解如何在所有浏览器中对StatusBar信息进行加密.



问候,

AnilKumar.D

Dear Friends,

Here i Got A Problem in My Project.In My Project iam Encrypting the Querystring in Url.But iam Unable to Encrypt the Status Bar.So Please help me regarding how to Encrypt the StatusBar Info in all Browsers.



Regards,

AnilKumar.D

推荐答案

使用Javascript将状态栏文本设置为您想要的任何内容 ^ ]

Use Javascript to set the status bar text to whatever you want http://www.w3schools.com/jsref/prop_win_status.asp[^]

function setStatus(text)
{
  window.status = text;
}
< a href=''...'' Onmouseover= setStatus(''whatever you want'')>


看看以下文章,
ASP.NET的查询字符串加密 [
Take a look at the following articles,
Query string encryption for ASP.NET[^]


使用Java脚本,创建javascript函数并在链接/按钮的onMouseOver上调用它

Do it using Javascript, create javascript function and call it on onMouseOver of links/buttons

function hidestatus()
{
  window.status="Welcome"
  return true
}


这篇关于如何使用C#加密asp.net中的StatusBar Url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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