flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhu Dutta <iammadhusudan...@gmail.com>
Subject Re: autologin to another HTML page from flex app
Date Sat, 23 Mar 2013 20:25:58 GMT
can you send me a code snippets?

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message