Re: Session management, Principal, ExtranetLogin
astik <[email protected]>
| Newsgroups | gmane.comp.cms.infoglue.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I think you can specify cache key for each page ... If you have pages that depends on user information (like its name or login that is display), cache won't be a good thing ... 'caus there would be too many version .. But if you have page that depends on roles, you can adjust your cache settings. I can't remember if you can ste it for content cache, but on the site node cover you can set it for pages. __ Romain http://blog.astik.info Le 13 août 09 à 16:28, Alessandro Palumbo a écrit : > You're right page cache was enabled. > But It's hard for me to understand the cache policy, it seems if was > treating the jsp like static content... > There is a way to have page cache enabled and avoid such problems? > Thank you again > Regards > /Alessandro Palumbo > > On 08/13/2009 02:51 PM, Per Johnsson wrote: >> >> Hi, >> >> It sound like you could have either page cache or component cache >> turned on. >> >> Make sure every reqest is is fetching the right session. I made a >> simmilar misstake just last week :-) >> >> /Per Jonsson >> >> >> From: Alessandro Palumbo [mailto:[email protected]] >> Sent: den 13 augusti 2009 14:39 >> To: [email protected] >> Subject: [Infoglue-developer] Session management, Principal, >> ExtranetLogin >> >> hi all, we experienced some strange behaviours in session >> management and the Principal object stored in the session, we are >> using IG 2.9.6 >> Let me explain a little bit more:We need to show the info of the >> loggedin user (extranet) in the main page. So we tought that we can >> use the information from the Principal object. The strange thing is >> that if you dump the sessionid from the session object of the jsp >> you will see that is seems to be shared between multiple client on >> multiple pc. >> It seems also that the session object is not invalidated by the >> extranet logout, is that normal? >> To retrieve the correct principal we wrote a little hack, we have >> decripted the username cookie and then used the management taglib >> to get the infos, but i don't think this is the right way. >> Thank you >> Alessandro ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july