如何为我的桌面应用程序创建通用Cookie [英] How Do I , Create A Universal Cookies For My Desktop Application

查看:98
本文介绍了如何为我的桌面应用程序创建通用Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

i我正在开发一个带有ERP软件包的窗口应用程序。我需要一个通用的cookie来保存计算机的MAC地址。



所以我只想知道如何创建通用cookie。



所以请提供一些我可以找到解决方案的资源。

帮助我,感谢所有

Dear all ,
i am just developing a window application with ERP package .where i need a universal cookies that will hold the MAC address of the computer.

so i just want to know how can i create a universal cookies .

so please provide me some resources where i can find the solution.
help me out , thanks to all

推荐答案

Cookie已过时我的朋友。你可以使用使用HTML 5的网络存储。



Cookie is outdated my friend.You can use Web Storage with HTML 5.

什么是HTML5网络存储?
What is HTML5 Web Storage ?



使用HTML5,网页可以在用户的​​浏览器中本地存储数据。



之前,这是用cookie完成的。但是,Web存储更安全,更快捷。每个服务器请求都不包含这些数据,但仅在被要求时使用。也可以存储大量数据,而不会影响网站的性能。



数据存储在名称/值对中,网页只能访问自己存储的数据。



与cookies不同,存储限制要大得多(至少5MB),信息永远不会传输到服务器。


With HTML5, web pages can store data locally within the user's browser.

Earlier, this was done with cookies. However, Web Storage is more secure and faster. The data is not included with every server request, but used ONLY when asked for. It is also possible to store large amounts of data, without affecting the website's performance.

The data is stored in name/value pairs, and a web page can only access data stored by itself.

Unlike cookies, the storage limit is far larger (at least 5MB) and information is never transferred to the server.



什么是HTML5网络存储?


这篇关于如何为我的桌面应用程序创建通用Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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