Re: autologin to another HTML page from flex app

2013-03-23 Thread Alex Harui
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/myNew

Re: autologin to another HTML page from flex app

2013-03-23 Thread Madhu Dutta
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 wrote: > > > > On 3/23/13 1:25 PM, "Madhu Dutta" 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

Re: autologin to another HTML page from flex app

2013-03-23 Thread Alex Harui
On 3/23/13 1:25 PM, "Madhu Dutta" 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 > wrote: > >> I think one possibility is to call a

Re: autologin to another HTML page from flex app

2013-03-23 Thread Madhu Dutta
can you send me a code snippets? On Sat, Mar 23, 2013 at 11:45 PM, Angelo Anolin 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 func

Re: autologin to another HTML page from flex app

2013-03-23 Thread Angelo Anolin
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 he

Re: autologin to another HTML page from flex app

2013-03-23 Thread Nitin Gopi
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 wrote: > Hi, > > usually after login, ser

Re: autologin to another HTML page from flex app

2013-03-22 Thread Bogdan DINU
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 wrote: > Hi > Honestly I have no

Re: autologin to another HTML page from flex app

2013-03-22 Thread Alex Harui
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" wrote: > Hi > Honestly I have no idea how to do it in HTML only site. > The requirement in our project i

Re: autologin to another HTML page from flex app

2013-03-22 Thread Nitin Gopi
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 wrote: > How would you do it from an HTML-only

Re: autologin to another HTML page from flex app

2013-03-22 Thread Alex Harui
How would you do it from an HTML-only site without Flash? On 3/22/13 5:29 AM, "Nitin Gopi" wrote: > The new url is third party. > > > On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta > wrote: > >> is the new url is your own? or any third party? >> >> On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi

Re: autologin to another HTML page from flex app

2013-03-22 Thread Nitin Gopi
The new url is third party. On Fri, Mar 22, 2013 at 3:18 PM, Madhu Dutta wrote: > is the new url is your own? or any third party? > > On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi wrote: > > > Hi Madhu > > Thanks for replying. I have a doubt here. We can use the > ExternalInterface > > API to acc

Re: autologin to another HTML page from flex app

2013-03-22 Thread Madhu Dutta
is the new url is your own? or any third party? On Fri, Mar 22, 2013 at 1:30 PM, Nitin Gopi 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 an

Re: autologin to another HTML page from flex app

2013-03-22 Thread Nitin Gopi
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 f

Re: autologin to another HTML page from flex app

2013-03-21 Thread Madhu Dutta
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.

autologin to another HTML page from flex app

2013-03-21 Thread Nitin Gopi
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