You can store those credentials in sharedObject which resides in the
clients machine. And you can use those sharedObjects for session
information.

HTH,

-Ravi

On Jul 2, 4:50 pm, Deepa <[email protected]> wrote:
> Hi,
>
> I am working with sessions and authentication for the first time.
> I need assistance with using FlexContext to read the session
> attributes and user
> Information. I want to know, how and from where FlexContext gets the
> session
> information from? I have a flex login page, the user id and password
> are
> submitted via URLVariables - j_username and j_password. The Tomcat
> validates it,
> using custom JDBCRealm. I now want to capture this user information as
> well as
> the session details, such that it is accessible at both the Flex as
> well as the
> Java side. I have a java class, in which I am trying to access the
> HttpServletRequest object and FlexSession object, by doing something
> like this -
>
> HttpServletRequest req = FlexContext.getHttpRequest();
> FlexSession session = FlexContext.getFlexSession();
>
> But both of these throw NullPointerException.
>
> Any pointers on how to resolve this issue, would be highly
> appreciated.
>
> Thanks & Regards,
> Deepa
--~--~---------~--~----~------------~-------~--~----~
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