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 --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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/
 


Reply via email to