Caching Data in ASP

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This tutorial will show how to use the Application object to store cached data.

Statistics

  • Total Hits - 27236

  • Total Votes - 124 votes

  • Vote Up - 58 votes

  • Vote Down - 66 votes

  • Domain - www.codebeach.com

  • Category - ASP/ASP Misc

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-07 03:39:09

Description

Do you have a web page that takes a long time to generate? Do you have a SQL query that you want to cache the results? This tutorial will show how to use Application variables to store cached data.

Application Variables

The Application object allows you to store data in a single location that can be shared by one or more ASP files in a directory and its subdirectories. The Application object stores data by a named index. You can store any type of data in the Application object including strings, dates, and numbers. To cache data, we will store multiple kinds of data in the Application object. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements