通过Silverlight代码清除浏览器历史记录 [英] Clear Browser History through Silverlight Code

查看:143
本文介绍了通过Silverlight代码清除浏览器历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

我正在开发Silverlight应用程序....

现在,我希望如果有人能够重定向到其他网站,那么必须删除浏览器历史记录和cookie..


请帮我朝这个方向...


期待有即时解决方案....

hii everyone ...

i m working on a silverlight application....

now i wish that if someone would redirect to other website..then browser history and cookies must be deleted..


plz help me in this direction...


looking forward for immediate solutions....

推荐答案

首先,您应该编辑您的帖子以添加详细信息,将发布的答案"添加到您的问题,当网站默认情况下不按顺序显示帖子并且没有主题时,这将非常令人困惑.

其次,如果您从事Silverlight的时间不到一个月,我认为您没有在编写商业代码,因此无论是否达到此目的都无关紧要.我建议您接受您给出的答案,并在您有偿编写Silverlight代码的那一天记下结果.
First of all, you should edit your post to add detail, your posting of ''answers'' that add to your question, is very confusing when the site doesn''t show posts in order by default, and has no threading.

Second, if you''ve been doing silverlight for less than a month, I assume you''re not writing commercial code, so it doesn''t matter if you achieve this or not. I would suggest you accept the answers you have been given and make a note of the result, for the day when you''re paid to write silverlight code.


这与付费/无偿代码编写...有关需求的一切..

人们说SL3不支持打印,并且您无法生成XPS文件.因此,这并不意味着我应该遵守他们的声明.

当然,总会有一种选择来实现相同的目标……而我一直在努力.."

1-请编辑您的帖子,而不是发布非答案.

2-是的,这就是关于您接受项目需求而不知道是否可能的全部.真正的程序员不会那样做,他们会在与客户交流时知道他们在说什么

3-有时可能会将不支持的内容混在一起.但是,有时您必须站起来告诉客户,当您对某事说是"时,您只是不知道.
"its not about paid/unpaid code-writing ...its all about requirement..

people says printing is not supported in SL3 and you can''t generate a XPS file.so that doesnt nean that i should stuck to their statements.

offcourse,there is always an alternative to achieve the same goal...and that what i was trying to do.."

1 - PLEASE edit your post, instead of posting non answers.

2 - yes, it''s all about you accepting a requirement on a project without knowing if it''s even possible. Real programmers don''t do that, they know what they are talking about WHEN THEY TALK TO THE CLIENT

3 - SOMETIMES it''s possible to hack together something that''s not supported. But, sometimes you have to man up and tell your client you just plain had no idea when you said yes to something.


在问这样的问题时,请考虑一下:

如果javascript或Flash或Silverlight之类的浏览器插件只会破坏您的浏览器历史记录和cookie,该怎么办?也许访问文件的功能不会带来安全风险,但是站点仍然可能给用户带来不便.

如果它们是您网站的Cookie,请对其进行正确配置,以使它们过期.
When asking a question like this, maybe consider this:

What if javascript or a browser plugin like Flash or Silverlight could just trash your browser history and cookies. Maybe not the security risk the ability to access files would be, but still sites could cause users inconvenience.

If they''re your site''s cookies, configure them properly so they expire.


这篇关于通过Silverlight代码清除浏览器历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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