Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i store value in website & can be accessed be in any page of the website ....

I have used
1) Application State
2) Cache

it store a single value which is overwrites to previous value

Eg

user1---- have access a page and a value is store in application State/ Cache - "Hello"

Note: [ still user1 is online & on the same page ]

after that

user2--- have access a page and a value is store in application State/ Cache - "Hi"

but when user1 access the same page or some other page the value is changed and to overwrite by the value of user2 i.e "Hi"

What is this ..............

I have also used Session , But after sometime it got expired or over written by another value of some page which also use to store some value in session ....


So , Help Needed.........................................................
Posted

1 solution

Have you considered Cookies: http://msdn.microsoft.com/en-GB/library/ms178194(v=vs.100).aspx[^] They are stored on the client, and can be set to not expire, and you can create as many spearate vlaues as you need.
 
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