Cache in Asp.Net pagesHi,
I have created a asp.net website application using Delphi Prism. In that application I used Cache to open pages with the same data from a previous page.
When opening a next page I needed to check if the cache exists. I have used this peace of code and It's working You're invited to improve it or use it if you like it.method Default1.Page_Load(sender: Object; e: EventArgs);, var, CacheText, CacheText2 : Object;, begin, If Cache['Name'] <> nil then, begin, Tekst := (Cache.Get("Name"));, // do something with existing Cache , end, else , begin, Page.Cache.Insert("Name",'errortext!!!!', nil, DateTime.Now.AddMinutes(1), TimeSpan.Zero) ;, end;,  ... |