For this you need to call a web service from Your backend.As flex is
a just client side.At flex end you have to create a Login component.
From here you have to call that webservicein which you have to pass
the LoginId and password.This information will be processed at your
backend as a usual authentication process in which you mathch the
I and password from the values in the database,on the success or
failure of authentication this webservice should return true or false.
At flex end if you get the success flag i.e. true then and then only
you allow the navigation to reach to the accessible part of the flex
application.Other wise as usual simply return the message of failure.
You can also use the Remote object for the same process according
to the architecture of you application. But the Web-service is easy to
implement and a general solution.
Shardul Singh Bartwal
Thank you very much for your reply. It is really helpful for my confused mind now. I think I could do it.
Can you please provide me any references as such which can help me.
Thanks in advance..
Here are a few examples:
(Flex and PHP):
(Adobe's Flex and PHP Example):
Hope that helps!