Re: [Semanticscuttle-devel] Chat with Christian Weiske
Brought to you by:
cweiske
From: Christian W. <cw...@cw...> - 2011-05-12 12:39:41
|
Hi Mark, > > 3:36 AM Christian: do you have an idea how to solve the session > > problem? I'd probably use a static class variable > > we need to see if logging in/logging off and all the unit tests > > run afterwards > Would you be kind enough to catch me up on the actual session problem? 1. The private key authenticates the user on certain areas of SemanticScuttle - currently only on the RSS feeds. No other area. 2. To be able to use the service methods required for private RSS feeds, we need to register the user identified by the private key as the current user. 3. The current user is stored in the session 4. To restrict privatekey access to the RSS feeds only, we need to unregister the current user after the feed has been generated. 5. If the script crashes during RSS generation, the user does not get unregistered/unset. This means that the user will be still logged in and can access all areas although he originally only had the private key. So we need to decouple the current user from the session storage. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =- |