Hi,
 
Once a user logs in successfully (via login.jsp), you should save his data to the session and then load the MXML and the Flex UI can then load the session data to know who the user is. Also, you should configure the security section of your web.xml to allow only the properly roles to access the various services.
 
And for re-directing, you can do this as follows: response.sendRedirect( "somepage.jsp" );
 
Hope that helps.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of endofadam228
Sent: Wednesday, August 03, 2005 6:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Login session problem:

Hi All
I am building web admin tools by Flex interface.
But I got a big problem about the session login, I tried to build this
login page under jsp, but I wanna call .mxml directly.

So any one can let me know any session data in Flex? and I wanna know
how redircent the URL after checked the session data is fault?

thx a lot!




--
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




Reply via email to