IT Community - Software Programming, Web Development and Technical Support

How to Store and Retrieve the values in server side caches in ASP.NET?

This is a discussion on How to Store and Retrieve the values in server side caches in ASP.NET? within the ASP and ASP.NET Programming forums, part of the Web Development category; How to Store and Retrieve the values in server side caches in ASP.NET?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-21-2007, 12:51 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Question How to Store and Retrieve the values in server side caches in ASP.NET?

How to Store and Retrieve the values in server side caches in ASP.NET?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2007, 01:14 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: How to Store and Retrieve the values in server side caches in ASP.NET?

Hi.. you can store & retrieve the values as below..
Objective: Store and Retieve caches in ASP.NET



Store values to cache
----------------------

Response.Cache.SetExpires(DateTime.Now.AddYears(1) );
Cache[cachename] = cachevalue;


Retrieve values from cache
---------------------------
strCache=Cache.Get(cachename).ToString();
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Client side JavaScript and and Server side Java Script sathian HTML, CSS and Javascript Coding Techniques 2 11-09-2007 10:30 PM
How do I retrieve the values from the URL? Pvinothkumar HTML, CSS and Javascript Coding Techniques 1 09-13-2007 06:30 AM
difference between Client side JavaScript and and Server side Java Script? Sundaram HTML, CSS and Javascript Coding Techniques 1 09-05-2007 11:46 AM
how to store and retrieve data from cookies hanusoftware ASP and ASP.NET Programming 1 08-09-2007 07:17 AM
Store and Retrieve the values in cookies in ASP.NET oxygen ASP and ASP.NET Programming 0 07-20-2007 12:23 AM


All times are GMT -7. The time now is 09:34 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0