Boris, Take a look at the cache code that Vince Adamo posted some time back - it should adress this exact problem. As far as I know, the code has not been committed to the archives yet, but it is in use for several implementations, so it is getting a workout -
Hope this helps - Margaret -----Original Message----- From: Boris Klug [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 8:35 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Flushing the object cache Hello! I am still fighting with the timestamp/caching issue, now will try to store the timestamp in the db when I have time to do it. Another question would be: Is there a way to flush the object cache so Castor has to read in all (cached) objects when they are are used again? I store information about user/group/rights in the db and when the rights for one users are changed by the administrator, I want to have a menu item "Reread priviledges" for connected users. Now you have to way until the (time-limited) cache will expire. Thank you for your help! -- Dipl. Inform. Boris Klug, control IT GmbH, Germany ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
