You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Nitin Gopi <ni...@gmail.com> on 2013/03/22 06:08:25 UTC

autologin to another HTML page from flex app

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.

Re: autologin to another HTML page from flex app

Posted by Alex Harui <ah...@adobe.com>.
The code could vary widely.

A session id is usually a string returned from the server at login.  Does
your server return it?  And then after that I think it depends the API.
Hopefully the URL you will pass into navigate URL will take the session id
as an argument as in:
    http://my.app.com/myNewPage.html?sessionid=abc123


On 3/23/13 11:29 PM, "Madhu Dutta" <ia...@gmail.com> wrote:

> yes..but in that case i need a small amount of..then i can try to modify
> those thing.
> 
> On Sun, Mar 24, 2013 at 9:45 AM, Alex Harui <ah...@adobe.com> wrote:
> 
>> 
>> 
>> 
>> On 3/23/13 1:25 PM, "Madhu Dutta" <ia...@gmail.com> 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
>>> <an...@gmail.com>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" <ni...@gmail.com> 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 <
>>>> flex.programming@gmail.com
>>>>>> 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 <ni...@gmail.com>
>>>>> 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 <ah...@adobe.com>
>>>> wrote:
>>>>>>> 
>>>>>>>> How would you do it from an HTML-only site without Flash?
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>>> The new url is third party.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
>>>>>>>>> <ia...@gmail.com>wrote:
>>>>>>>>> 
>>>>>>>>>> is the new url is your own? or any third party?
>>>>>>>>>> 
>>>>>>>>>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <
>>>> nitin.gopi@gmail.com
>>>>>> 
>>>>>>>> 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 <
>>>>>>>>>> iammadhusudan.01@gmail.com
>>>>>>>>>>>> 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 <
>>>>>> nitin.gopi@gmail.com>
>>>>>>>>>>> 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
>> 
>> 
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: autologin to another HTML page from flex app

Posted by Madhu Dutta <ia...@gmail.com>.
yes..but in that case i need a small amount of..then i can try to modify
those thing.

On Sun, Mar 24, 2013 at 9:45 AM, Alex Harui <ah...@adobe.com> wrote:

>
>
>
> On 3/23/13 1:25 PM, "Madhu Dutta" <ia...@gmail.com> 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
> > <an...@gmail.com>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" <ni...@gmail.com> 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 <
> >> flex.programming@gmail.com
> >>>> 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 <ni...@gmail.com>
> >>> 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 <ah...@adobe.com>
> >> wrote:
> >>>>>
> >>>>>> How would you do it from an HTML-only site without Flash?
> >>>>>>
> >>>>>>
> >>>>>> On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
> >>>>>>
> >>>>>>> The new url is third party.
> >>>>>>>
> >>>>>>>
> >>>>>>> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> >>>>>>> <ia...@gmail.com>wrote:
> >>>>>>>
> >>>>>>>> is the new url is your own? or any third party?
> >>>>>>>>
> >>>>>>>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <
> >> nitin.gopi@gmail.com
> >>>>
> >>>>>> 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 <
> >>>>>>>> iammadhusudan.01@gmail.com
> >>>>>>>>>> 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 <
> >>>> nitin.gopi@gmail.com>
> >>>>>>>>> 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
>
>


-- 
*Thanks & Regards*
*Madhusudan Dutta*
*mob: +919427284202 & +919038386682***

Re: autologin to another HTML page from flex app

Posted by Alex Harui <ah...@adobe.com>.


On 3/23/13 1:25 PM, "Madhu Dutta" <ia...@gmail.com> 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
> <an...@gmail.com>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" <ni...@gmail.com> 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 <
>> flex.programming@gmail.com
>>>> 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 <ni...@gmail.com>
>>> 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 <ah...@adobe.com>
>> wrote:
>>>>> 
>>>>>> How would you do it from an HTML-only site without Flash?
>>>>>> 
>>>>>> 
>>>>>> On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
>>>>>> 
>>>>>>> The new url is third party.
>>>>>>> 
>>>>>>> 
>>>>>>> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
>>>>>>> <ia...@gmail.com>wrote:
>>>>>>> 
>>>>>>>> is the new url is your own? or any third party?
>>>>>>>> 
>>>>>>>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <
>> nitin.gopi@gmail.com
>>>> 
>>>>>> 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 <
>>>>>>>> iammadhusudan.01@gmail.com
>>>>>>>>>> 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 <
>>>> nitin.gopi@gmail.com>
>>>>>>>>> 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


Re: autologin to another HTML page from flex app

Posted by Madhu Dutta <ia...@gmail.com>.
can you send me a code snippets?

On Sat, Mar 23, 2013 at 11:45 PM, Angelo Anolin <an...@gmail.com>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" <ni...@gmail.com> 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 <
> flex.programming@gmail.com
> > >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 <ni...@gmail.com>
> > 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 <ah...@adobe.com>
> wrote:
> > > >
> > > > > How would you do it from an HTML-only site without Flash?
> > > > >
> > > > >
> > > > > On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
> > > > >
> > > > > > The new url is third party.
> > > > > >
> > > > > >
> > > > > > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> > > > > > <ia...@gmail.com>wrote:
> > > > > >
> > > > > >> is the new url is your own? or any third party?
> > > > > >>
> > > > > >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <
> nitin.gopi@gmail.com
> > >
> > > > > 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 <
> > > > > >> iammadhusudan.01@gmail.com
> > > > > >>>> 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 <
> > > nitin.gopi@gmail.com>
> > > > > >>> 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.
> >
>



-- 
*Thanks & Regards*
*Madhusudan Dutta*

Re: autologin to another HTML page from flex app

Posted by Angelo Anolin <an...@gmail.com>.
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" <ni...@gmail.com> 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 <flex.programming@gmail.com
> >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 <ni...@gmail.com>
> 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 <ah...@adobe.com> wrote:
> > >
> > > > How would you do it from an HTML-only site without Flash?
> > > >
> > > >
> > > > On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
> > > >
> > > > > The new url is third party.
> > > > >
> > > > >
> > > > > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> > > > > <ia...@gmail.com>wrote:
> > > > >
> > > > >> is the new url is your own? or any third party?
> > > > >>
> > > > >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <nitin.gopi@gmail.com
> >
> > > > 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 <
> > > > >> iammadhusudan.01@gmail.com
> > > > >>>> 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.it is
> > > > >> working
> > > > >>>> fine.
> > > > >>>>
> > > > >>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <
> > nitin.gopi@gmail.com>
> > > > >>> 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.
>

Re: autologin to another HTML page from flex app

Posted by Nitin Gopi <ni...@gmail.com>.
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 <fl...@gmail.com>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 <ni...@gmail.com> 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 <ah...@adobe.com> wrote:
> >
> > > How would you do it from an HTML-only site without Flash?
> > >
> > >
> > > On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
> > >
> > > > The new url is third party.
> > > >
> > > >
> > > > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> > > > <ia...@gmail.com>wrote:
> > > >
> > > >> is the new url is your own? or any third party?
> > > >>
> > > >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com>
> > > 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 <
> > > >> iammadhusudan.01@gmail.com
> > > >>>> 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.it is
> > > >> working
> > > >>>> fine.
> > > >>>>
> > > >>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <
> nitin.gopi@gmail.com>
> > > >>> 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.

Re: autologin to another HTML page from flex app

Posted by Bogdan DINU <fl...@gmail.com>.
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 <ni...@gmail.com> 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 <ah...@adobe.com> wrote:
>
> > How would you do it from an HTML-only site without Flash?
> >
> >
> > On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
> >
> > > The new url is third party.
> > >
> > >
> > > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> > > <ia...@gmail.com>wrote:
> > >
> > >> is the new url is your own? or any third party?
> > >>
> > >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com>
> > 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 <
> > >> iammadhusudan.01@gmail.com
> > >>>> 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.it is
> > >> working
> > >>>> fine.
> > >>>>
> > >>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
> > >>> 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

Re: autologin to another HTML page from flex app

Posted by Alex Harui <ah...@adobe.com>.
You might want to search the internet to see if anyone has solved this
problem with only HTML/JS then we can discuss if you can do the same thing
with Flash.


On 3/22/13 8:41 AM, "Nitin Gopi" <ni...@gmail.com> 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 <ah...@adobe.com> wrote:
> 
>> How would you do it from an HTML-only site without Flash?
>> 
>> 
>> On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
>> 
>>> The new url is third party.
>>> 
>>> 
>>> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
>>> <ia...@gmail.com>wrote:
>>> 
>>>> is the new url is your own? or any third party?
>>>> 
>>>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com>
>> 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 <
>>>> iammadhusudan.01@gmail.com
>>>>>> 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.it is
>>>> working
>>>>>> fine.
>>>>>> 
>>>>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
>>>>> 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
>> 
>> 
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: autologin to another HTML page from flex app

Posted by Nitin Gopi <ni...@gmail.com>.
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 <ah...@adobe.com> wrote:

> How would you do it from an HTML-only site without Flash?
>
>
> On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:
>
> > The new url is third party.
> >
> >
> > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> > <ia...@gmail.com>wrote:
> >
> >> is the new url is your own? or any third party?
> >>
> >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com>
> 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 <
> >> iammadhusudan.01@gmail.com
> >>>> 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.it is
> >> working
> >>>> fine.
> >>>>
> >>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
> >>> 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.

Re: autologin to another HTML page from flex app

Posted by Alex Harui <ah...@adobe.com>.
How would you do it from an HTML-only site without Flash?


On 3/22/13 5:29 AM, "Nitin Gopi" <ni...@gmail.com> wrote:

> The new url is third party.
> 
> 
> On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta
> <ia...@gmail.com>wrote:
> 
>> is the new url is your own? or any third party?
>> 
>> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com> 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 <
>> iammadhusudan.01@gmail.com
>>>> 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.it is
>> working
>>>> fine.
>>>> 
>>>> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
>>> 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


Re: autologin to another HTML page from flex app

Posted by Nitin Gopi <ni...@gmail.com>.
The new url is third party.


On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta <ia...@gmail.com>wrote:

> is the new url is your own? or any third party?
>
> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com> 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 <
> iammadhusudan.01@gmail.com
> > >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.it is
> working
> > > fine.
> > >
> > > On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
> > 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***
>



-- 
You can only depend on yourself. The cavalry ain't coming.

Re: autologin to another HTML page from flex app

Posted by Madhu Dutta <ia...@gmail.com>.
is the new url is your own? or any third party?

On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi <ni...@gmail.com> 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 <iammadhusudan.01@gmail.com
> >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.it is working
> > fine.
> >
> > On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com>
> 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***

Re: autologin to another HTML page from flex app

Posted by Nitin Gopi <ni...@gmail.com>.
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 <ia...@gmail.com>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.it is working
> fine.
>
> On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com> 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.

Re: autologin to another HTML page from flex app

Posted by Madhu Dutta <ia...@gmail.com>.
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.it is working
fine.

On Fri, Mar 22, 2013 at 10:38 AM, Nitin Gopi <ni...@gmail.com> 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*