Last post Nov 26, 2007 01:38 AM by JckKerouac
Nov 26, 2007 01:38 AM|JckKerouac|LINK
Was just exploring the kit and noticed that in this function, the expiration datetime variable never gets set, so basically the cache expires the moment it is set. Don't know if it was mentioned before, but adding something like:
DateTime.Now.AddDays(1) to the declaration (consistant with the other cached category entities) will fix it...
TopCategoriesDS.SelectParameters(0).DefaultValue = e.CategoryId