Yeah I am with Carson here. I don't understand why you are doing this. Flex will inherit the J2EE session. Your servlet will have access to the HttpServletSession object. Even if you're using RemoteObject you'd have access to the session from the Gateway.* classes.
This is an area in Flex that just shines. Having seamless transparent integration into J2EE sessions...... Makes my heart just warm. ;) -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In [email protected], "Carson Hager" <[EMAIL PROTECTED]> wrote: > > Why exactly do you want to do this? Provided you don't use the proxy, > all interactions back to the server from HTTPService, WebService, etc. > will all naturally exist within the same session. Clearly this is not > the case and yet another reason why using the proxy should not be the > default. :) > > > Carson > > ____________________________________________ > > Carson Hager > Cynergy Systems, Inc. > http://www.cynergysystems.com > > Email: [EMAIL PROTECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of falagueiro > Sent: Wednesday, December 07, 2005 8:39 AM > To: [email protected] > Subject: [flexcoders] cookie flex's jsessionid > > Hello. > > I have a small flex application (Flex 1.5) that has a simple button. > If the user clicks the button there sends a request http > (HTTPService) that is attended by a servlet that finally redirect to a > Jsp page: > > response.sendRedirect("result.jsp") > > > This servlet tries to read session data: > > HttpSession session = request.getSession(false); > > Nevertheless, the session obtains it from the JsessionId de Flex > (FLEX_XXX_XXX_JSESSIONID). But I want to obtain the meeting from the > cookie JSESSIONID. I want to obtanin the J2EE server session. As I can > do that?. I want to send a request HTTP (click Button), and not to use > RemoteObject. > > I think to have found a possible solution. Before, I have added in the > response the cookie FLEX_XXX_XXX_JSESSIONID=JSESSIONID. But now my > doubt is: > > Since FLEX's JSESSIONID generates the name of cookie?.The first number > always is the same. I believe that it depends on the server.I think > that the second number dependes on the application. Can I configure > the name of the cookie? > > Thanks. Excuse me for my poor language. > > Bye. > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

