[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

can application variable do this or is there something else to use?

Daniel

5/17/2005 8:52:00 PM

right now i have some sql server tables that i search for a value w/ a key
each time a .aspx is hit. is there any way i can just have the first hit to
the .aspx select all the entries from the key/value table in to some kind of
hash table so that subsequent hits to the .aspx get the data from the hash
table instead of the database? e.g. is there any way to share a hash table
between aspx sessions? can application variable do this or is there
something else to use?


1 Answer

Brock Allen

5/17/2005 9:18:00 PM

0

There is a data cache in ASP.NET which is a superset of the old ASP-style
Application object. This should get you started:

http://samples.gotdotnet.com/quickstart/aspplus/doc/dataca...

-Brock
DevelopMentor
http://staff.develop....



> right now i have some sql server tables that i search for a value w/ a
> key each time a .aspx is hit. is there any way i can just have the
> first hit to the .aspx select all the entries from the key/value table
> in to some kind of hash table so that subsequent hits to the .aspx get
> the data from the hash table instead of the database? e.g. is there
> any way to share a hash table between aspx sessions? can application
> variable do this or is there something else to use?
>