Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
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
Posted
Comments
Sampath Lokuge 7-May-14 4:16am    
Why can't you store it inside the DB ?
amitkumar5734 7-May-14 4:22am    
sir requirement is different . can't store in DB
Sampath Lokuge 7-May-14 4:24am    
So why don't you expose your requirement here ?
amitkumar5734 7-May-14 4:28am    
sir i have already mentioned . i can't store MAC address in database . i need to hold in cookies and cookies should be universal .
Sampath Lokuge 7-May-14 4:35am    
Cookies are related to the browsers.So how can you create a Universal cookie for your Desktop Application ? Your question is wrong or what ?

1 solution

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

What is HTML5 Web Storage ?

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.

What is HTML5 Web Storage ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900