> Hi All
>
[quoted text clipped - 8 lines]
> When i can create Cache object (objUser),Why cannot i access the
> insert method?
I don't think System.Web.Caching.Cache is meant to be constructed by user
code. Its constructor is public but not documented, nor any of its internal
methods like SetCacheInternal() that probably need to be called.
> If not please suggest any possible alternate solution
In ASP.NET, either use HttpSessionState or an object that encapsulates all
data per user and put this object in the cache, using some unique property
of a user as its key.
Cheers,

Signature
Joerg Jooss
joerg.jooss@gmx.net
Ravi kumar - 21 Sep 2004 10:01 GMT
Hi joerg
Then the methods in the Cache object could be made as static isn't it?
Thanks and Regards
Ravi
> > Hi All
> >
[quoted text clipped - 20 lines]
>
> Cheers,
Joerg Jooss - 21 Sep 2004 15:29 GMT
> Hi joerg
> Then the methods in the Cache object could be made as static isn't it?
Not really. Just because user code isn't meant to create instances, this
doesn't mean the same applies to application frameworks like ASP.NET.
Cheers,

Signature
Joerg Jooss
joerg.jooss@gmx.net