Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: using Cache in component


Message #1 by "Jason Wong" <jmwong2@h...> on Thu, 22 Nov 2001 16:56:25 -0800
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C17376.9F016B10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

Is it possible to use the Cache object in a business object (component) 
?  I tried to read from the Cache, but get a build error: a 'class' was 
found where a 'variable' was expected.  This routine worked fine when it 
was part of a User Control, but now has an error when I make it a 
component.  I suspect it has something to do with components being 
pre-compiled and the Cache being an instance of the application domain, 
but does anyone know of any work around?

TIA,
Jason



  Return to Index