Re: Session management, Principal, ExtranetLogin

Per Johnsson <[email protected]>
Newsgroups gmane.comp.cms.infoglue.devel
Message-ID <3F4F3D1186A9A84B90431E6655A0FF79023DD2B391@SE06XMB01.org.nasdaqomx.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.