I add the following value to the cache:
HttpContext.Cache.Insert( "ClientId", clientid, null, DateTime.UtcNow.AddYears(1), TimeSpan.Zero );
I do not want the cache to expire, so I set the date in a year ( DateTime.UtcNow.AddYears(1) ), but after 30 minutes there is no more cached value.
pablo source share