检查是否启用了JavaScript和Cookie [英] Check Whether JavaScript and Cookie are Enabled

查看:100
本文介绍了检查是否启用了JavaScript和Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我发现这个用户控件非常有助于检查JavaScript和Cookie是否启用



检查是否使用自定义控件启用JavaScript和Cookie [ ^ ]



任何人都可以建议在Global.asax页面中使用此用户控件的方法。

这可能你可能会问为什么?。



原因是,我想检查每个请求是否启用Javascript。如果没有启用,我将重定向到Application_BeginRequest中的错误页面会触发每个请求。



请帮帮我。



谢谢,

Prathap。

解决方案

为什么不作为国王是这篇文章的作者?加载此页面,找到文章下方的评论和讨论部分,并使用添加评论或问题来提出您的问题。作者将收到您的帖子通知并有机会回复。



祝你好运,

-SA

Hi,

I have found this usercontrol which is quite helpful to Check Whether JavaScript and Cookie are Enabled

Check Whether JavaScript and Cookie are Enabled using Custom Control[^]

Can anyone suggest an approach to use this usercontrol in Global.asax page.
Is this possible.You may ask why?.

The reason is, I wanted to check on every request whether the Javascript is enabled or not.If not enabled i will redirect to an error page in the Application_BeginRequest which fires for every request.

Please help me.

Thanks,
Prathap.

解决方案

Why not asking the author of this article? Load this page, locate the section "Comments and Discussions" below the article and use "Add a Comment or Question" to ask your question. The author will get a notification of your post and a chance to reply.

Good luck,
—SA


这篇关于检查是否启用了JavaScript和Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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