Hallo,

> ich steh mal wieder auf der Leitung :-(
> Context.Cache.Item["Data"] bringt dieselbe Fehlermeldung:
> 'System.Web.Caching.Cache' enthält keine Definition für 'Item'
> Oder wo meinst Du ... ?
> 

Dein Code muß so aussehen:

public ArrayList GetList()               
{
        HttpContext Context = HttpContext.Current;
        if((Context != null) && (Context.Cache["Data"] != null))
        {
                if((Context.Cache["Data"].GetType())==typeof(ArrayList))
                {
                        return (ArrayList)Context.Cache["Data"];
                }
        }
        return null;
}

Gruss

Alex


_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an