© Simplicity ASP Framework - v .01 b

Data Cache Class

This classes uses the application-variables to save a value. This way the value can be shared by all the users to this application. This class was written by Michal Gabrukiewicz and is part of the GAB_LIBRARY.

Code: 

set itemCache = new Cache
	itemCache.interval = "h"
	itemCache.intervalValue = 1
	itemCache.name = "sales"
	textCache = formater(now(), "general date")
	sales = itemCache.getItem("carolinaq")

	if NOT does_exists(sales) then
		itemCache.store "carolinaq", textCache
	else
		write = write & ("Date cached as of " & sales)
	end if
set itemCache = nothing

© Simplicity ASP Framework
Last Modified on: 3/4/2009 7:54:51 PM
Page Executed: 0.016 seconds