Simple Cache Question

G

Guest

Hi. When using the Cache.Insert method to place an item in cache, how do I
specify that the item should be saved on the browser and not the server?

By default it is saving it on the server.

Thanks
 
B

bruce barker

not built in. you can store the item in viewstate, and retrieve on
postback. you will have to repeat on every page, and turn off page
caching in the browser (or it could post an old value).

generally this is not recommended.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

A simple form question 2
Data Cache Question 5
Simple Program 0
cache 2
Default Cache Duration 4
Cache not working as expected 1
Application Cache question 5
Simple (x,y) graph 3

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top