On 3/23/13 1:25 PM, "Madhu Dutta" <[email protected]> wrote:
> can you send me a code snippets?
I'm not sure it is safe to put the password in the URL. I think the session
id is the most often used solution.
>
> On Sat, Mar 23, 2013 at 11:45 PM, Angelo Anolin
> <[email protected]>wrote:
>
>> I think one possibility is to call a service or an api from flex that would
>> emit a url that is composed of parameters containing the user name and
>> password, and the site should be able to have a JS function which will
>> peruse those parameters to log in automatically.
>>
>> Just thinking something out here.
>> On Mar 23, 2013 1:23 AM, "Nitin Gopi" <[email protected]> wrote:
>>
>>> Hi,
>>> You mean that by calling a service from the flex side , I can get the
>>> session id of the webpage in which I want to auto login. Then store that
>>> session id in the browser and open that page in the next tab?
>>>
>>>
>>> On Sat, Mar 23, 2013 at 11:00 AM, Bogdan DINU <
>> [email protected]
>>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> usually after login, service should provide you a session id which you
>>> can
>>>> pass in the second opened page. The same service will validate session
>> id
>>>> before displaying content.
>>>>
>>>> Hope it helps!
>>>>
>>>> Best regards,
>>>> Bogdan
>>>>
>>>> On Fri, Mar 22, 2013 at 5:41 PM, Nitin Gopi <[email protected]>
>>> wrote:
>>>>
>>>>> Hi
>>>>> Honestly I have no idea how to do it in HTML only site.
>>>>> The requirement in our project is to do in this way. If there is no
>>>> direct
>>>>> way can you suggest some alternate way to do this?
>>>>>
>>>>> Thanks
>>>>> Nitin Gopi
>>>>>
>>>>>
>>>>> On Fri, Mar 22, 2013 at 7:20 PM, Alex Harui <[email protected]>
>> wrote:
>>>>>
>>>>>> How would you do it from an HTML-only site without Flash?
>>>>>>
>>>>>>
>>>>>> On 3/22/13 5:29 AM, "Nitin Gopi" <[email protected]> wrote:
>>>>>>
>>>>>>> The new url is third party.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> is the new url is your own? or any third party?
>>>>>>>>
>>>>>>>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <
>> [email protected]
>>>>
>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Madhu
>>>>>>>>> Thanks for replying. I have a doubt here. We can use the
>>>>>>>> ExternalInterface
>>>>>>>>> API to access the javascript functions in the enclosing HTML
>>>> wrapper.
>>>>>> But
>>>>>>>>> in my case I have to move to another page in another tab using
>>> the
>>>>>>>>> navigateToUrl method, then how can I access the username,
>>> password,
>>>>>> auto
>>>>>>>>> fill them and submit.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Mar 22, 2013 at 10:45 AM, Madhu Dutta <
>>>>>>>> [email protected]
>>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> yes you can do that..flex is totally pat from independent. you
>>> can
>>>>> use
>>>>>>>>>> external interface to do that. you can put the user
>>> name/password
>>>> on
>>>>>>>>> start
>>>>>>>>>> up of loading page.by external interface.go the external
>>>>>> interface,you
>>>>>>>>> can
>>>>>>>>>> get the answer. i have implemented this on my mobile apps.itis
>>>>>>>> working
>>>>>>>>>> fine.
>>>>>>>>>>
>>>>>>>>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <
>>>> [email protected]>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi
>>>>>>>>>>> I have a flex application. From this application I want to
>>>> navigate
>>>>>>>> to
>>>>>>>>>>> another url which is a html page. To do that I can use
>>>>>>>> navigateToURL()
>>>>>>>>>>> method. In the new url I have to login. I need to automate
>> the
>>>>> login
>>>>>>>>> into
>>>>>>>>>>> the page. For example if I am in a flex app, then clicking
>> on a
>>>>>>>> button
>>>>>>>>> I
>>>>>>>>>>> should auto login to my gmail page in another tab. I have all
>>> the
>>>>>>>>>> necessary
>>>>>>>>>>> credentials in the flex app itself. Has anybody done that?
>>>>>>>>>>> --
>>>>>>>>>>> You can only depend on yourself. The cavalry ain't coming.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks & Regards*
>>>>>>>>>> *Madhusudan Dutta*
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You can only depend on yourself. The cavalry ain't coming.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks & Regards*
>>>>>>>> *Madhusudan Dutta*
>>>>>>>> *mob: +919427284202 & +919038386682***
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alex Harui
>>>>>> Flex SDK Team
>>>>>> Adobe Systems, Inc.
>>>>>> http://blogs.adobe.com/aharui
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You can only depend on yourself. The cavalry ain't coming.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://www.badu.ro
>>>>
>>>
>>>
>>>
>>> --
>>> You can only depend on yourself. The cavalry ain't coming.
>>>
>>
>
>
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui