Hmmmm, I think we need to append the JSESSION_ID to the url since I doubt
the Ajax requests carry any cookies with them.

-Scott

> -----Original Message-----
> From: Chris Custine [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 29, 2005 8:09 PM
> To: Jetspeed Users Mailing List
> Subject: J2 - Ajax from portlet / need request.getUserPrincipal, etc.
> 
> OK, I am having a quick go at doing some Ajax interactions from browser to
> my portlet app. Everything looks good so far as long as I don't need
> access
> to session data (which will almost always be necessary). In my normal
> portlet usage I use request.getUserPrincipal() for userid and I will also
> need access to session info. When I map the calls directly to the web app
> via its URL it creates a new session and the userprincipal is null. Has
> anyone else experimented with something like this yet and can offer any
> pointers?
> 
> Thanks,
> Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to