View Full Version : [HELP] adobe air authentication
bemzinside
15 Apr 2008, 11:44 PM
I were developing an AIR application using HTML/AJAX, which it is intergrated with PHP application..
Like the common application, we need to authenticate to run the application we going to use,
But I confuse how to be able running the authentication process from AIR to PHP...
please help me,
...Thank you...
ghyster
16 Apr 2008, 1:27 AM
You can handle it like any other app : you can login using a form you submit to a PHP script that will create and handle a PHP session
bemzinside
17 Apr 2008, 9:07 PM
You can handle it like any other app : you can login using a form you submit to a PHP script that will create and handle a PHP session
hi ghyster thanks so much for your information :D...
but i need to know how AIR can handle the COOKIES that produced by PHP app..
maybe anyone in this forum can explain , how AIR can handling COOKIES ?
thanks before ..
RobSmith
21 Apr 2008, 2:27 AM
You can also use request parameters to send the session id with. I am working on the same issue and I did the authentication now but have not tested to grab the session yet neither by cookies nor by request parameters. Will do this today (hopefully) and keep you informed.
devnull
23 Apr 2008, 8:14 AM
This is from the "AIRForJSDevPocketGuide" pdf (http://onair.adobe.com/files/AIRforJSDevPocketGuide.pdf?sdid=CEYFA):
Adobe AIR has full support for setting and getting cookies from
HTML-based content in remote sandboxes (content loaded
from http:// and https:// sources) that is bound to a specific
domain. Content loaded from the installed directory of the ap-
plication (referenced via app:/ scheme) cannot use cookies (the
document.cookie property).
Cookie support is implemented via the operating system’s net-
working stack. This means that AIR applications can share
cookies set by any browser or application that also leverage the
operating system stack.
bemzinside
25 Apr 2008, 9:25 AM
You can also use request parameters to send the session id with. I am working on the same issue and I did the authentication now but have not tested to grab the session yet neither by cookies nor by request parameters. Will do this today (hopefully) and keep you informed.
hi rob..thanks for your information..
Let's keep digging and hunting.
best regards
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.