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

Top