15 Apr 2008 11:44 PM #1
[HELP] adobe air authentication
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,
16 Apr 2008 1:27 AM #2
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
17 Apr 2008 9:07 PM #3
21 Apr 2008 2:27 AM #4
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.
23 Apr 2008 8:14 AM #5
This is from the "AIRForJSDevPocketGuide" pdf (http://onair.adobe.com/files/AIRforJ...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-
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.
25 Apr 2008 9:25 AM #6