Hi Jitendra,

I am not from Bidai :). I think my problem was not clear so explaining
this again.

While setting the cookie I am using remote object to call a Java
function that uses
HttpServletRequest request = FlexContext.getHttpRequest();
HttpServletResponse response = FlexContext.getHttpResponse();

to set the cookie.

For retrieving the cookie this is a pure JSP page that resides in the
same domain. I tried 2 things:

1) There I tried using Cookie object from the implicit HTTPRequest
object which did not retrieve the cookies that I had set. It gave 1
cookie object back but it was not the one I had set. Presuming BlazeDS
would be using it.

2) The second approach I was using was calling
FlexContext.getHttpRequest()  from the JSP page. even getFlexSession
returned null.

I am not sure whether the channels come into consideration for the JSP
page if I have understood that right. Not sure if the FlexContext is
the same that the JSP page is getting.

Please show me pointers for the same.

Thanks & Regards,
Ragini

On Dec 23, 11:11 am, "JAIN JITENDRA" <[email protected]>
wrote:
> Hi Ragini (not from Bidai, I guess ;)),
>
> 1)Why are you replying on cookies? What happens when cookies are disabled on
> client side? These questions should be vital when you are developing an
> application.
>
> 2)I think FlexContent is static class and which channel you are using? It
> will return null if you are using non HTTP channel.
>
> Let me know your views. Concentrate more on question 1 .
>
> Thanks,
>
> Regards,
> JJain

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to