Re: Session management, Principal, ExtranetLogin
Alessandro Palumbo <[email protected]>
| Newsgroups | gmane.comp.cms.infoglue.devel |
|---|---|
| Message-ID | <[email protected]> |
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 > ------------------------------------------------------------------------ > > _______________________________________________ > Infoglue-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/infoglue-developer > ------------------------------------------------------------------------------ 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 _______________________________________________ Infoglue-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/infoglue-developer