Php :: Building A Login System For The Desktop Application?

Oct 15, 2010

I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post data that will update various data in the database on the server. Basically what I'm wondering is what the best way is to go about building a login system for the desktop application.I can't use the regular channels that you would if your users were accessing the application via a browser, so I was thinking I would do this:

Flex app posts login details (email, password) to a login action.The login action uses Zend Auth to check if the details are valid.The login action creates a unique hash (and stores it in the db somewhere along with the user's id) and returns a json object containing the hash along with the user's id to the flex app.Whenever the flex app makes requests to any action in the web app, it also sends along the user's id and the unique hash so the web app can verify the user.

View 2 Replies


Similar Posts:


Actionscript 3 :: Send Commands To Operative System From Adobe AIR Desktop Application?

Feb 9, 2010

In Python there is a function: os.system(command) that runs the command passed by parameter in the command line, there is something similar in AS3 (or MXML) running an Adobe AIR Desktop Application?

View 1 Replies

Java :: Using JavaFX And/or Adobe Flex For Building Desktop Applications?

Sep 29, 2009

Most of the desktop application development I do is in Swing, and I'm curious to hear people's thoughts on using JavaFX and/or Adobe Flex for building desktop applications. Have you had success building desktop apps with these? Or would you stick with Swing for now and use tools to help make Swing development more productive?

View 6 Replies

Php :: Login System With Flex Mobile?

Jan 30, 2012

I followed an example on how to make a login system in flex. This example was not made for flex mobile projects, but desktops running in a browser. As I understand I can use the same code but with different components. I keep getting errors. My code is beneath. PHP code for connecting and quering the database, and send result back with xml

<?php
echo "<?xml version=""1.0" ?>
";
$con = mysql_connect("HOST","USER","PASS");

[code]...

My First thought was that I can't use <mx:HTTPService> and other mx based services in my mobile flex application.

View 1 Replies

ActionScript 3.0 :: Create A Login System?

Aug 13, 2009

iam tryin to create a login system i want the username to b only "mayuresh" & password to b "nagpure" blow is my code

go_btn.addEventListener(MouseEvent.CLICK,perform)
function perform(event:MouseEvent):void
{

[code]....

mp prob is eventhough if username is mayuresh and password is nagpure it traces ("Incorrect Username")

View 6 Replies

Determine When Application Is Running As A Mobile / Desktop Air Application?

Dec 6, 2011

How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...

View 4 Replies

Php :: Flex - Login System Not Working Correctly?

Feb 23, 2011

I wrote a login system using flex and php, but for some odd reason the php echos back both "true" and "false". why this is happening?

?php
echo "<?xml version="1.0" encoding="utf-8"?>";
//include("connect.php"); // used for your connection to the database.

[code]....

View 1 Replies

Flash :: Building A System That Allows Users To See A Video Only Once?

Dec 27, 2010

My client wants to distribute a video to some people, specifically car dealers, but he doesn't want the video to end up on Youtube or something like that. Therefore he wants the recipients of the video to be able to see it only once. My idea to implement this is:Generate a unique key per viewerSend each viewer a link to a page with a Flash based video player, with their key in the URLHave Flash get the video from the server. On the server the key is checked and the file sent (using php's readfile or something equivalent).Then the key is invalidated.I was thinking this wouldn't take more than a day to build.I know that if you want somebody to be able to play something, you implicitly give them the power to record it as well, but the client just wants me to make it as hard as possible.

View 2 Replies

ActionScript 2.0 :: Flash8 Seriously Strange Behavior From Flash (Login System)

Sep 1, 2009

I setup a login system using Flash / PHP /mySQL. The other day, the server I was working on went down, so I had to setup everything on another server. I am able to send the query to PHP and it prints the result in Flash. (Either "Success" or "Failure"). And I do get the correct response depending on what I write as username / password. But either way, the if statement says its not "Success". This worked perfectly on the other server. Here's the AS (as I get the correct result from PHP it can't be a problem on that end):

[Code]...

View 2 Replies

ActionScript 2.0 :: Login System Setup - TabIndex Interferes With Enter Key

Dec 1, 2004

I have a login system set up in flash where people enter an email and password. Hence, there's two text fields and a submit button. This submit button responds to the Enter key on the keyboard. The problem is that if I define those two textfields with tabIndex, the submit button does not respond to the enter key anymore. Do I need to use listeners to fix this somehow?

View 2 Replies

ActionScript 3.0 :: Building An Auto-complete Menu System?

Nov 20, 2009

I am building an autocomplete menu system, and need the general function to be simple as I will be adding a lot more functionality to it later...

this is my start, but it returns too many results, how can I bind the results?

[Code].....

View 1 Replies

Flash :: Use The Asterisk As The Communication Server And Java As Primary Technology In Building The System

Aug 19, 2011

We want to build the web-based softphone using SIP technology And we want to use the Asterisk as the Communication server and Java as primary technology in building the system so we have got following flash based softphone using Adobe Flash,FMG,FMS flex based softphone using Flex , Red5 Server we are also reseraching into MjSIP and PjSIP

[Code]....

View 2 Replies

Flex :: Which Is Better For Desktop Application

Jan 4, 2010

i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?

View 3 Replies

Java :: Writing A Desktop Application?

Oct 15, 2009

I am writing a desktop application and trying to decide between using AIR (FLex) or Java.Some of the requirements for the application are: needing to securely connect to webservices and JMShave a very interactive UI (lots oflittle and big features)displaying videoCommunicate with a C++ applicationTo implement the web services and JMS for Flex we were thinking of using Merapi to communicate with a Java application. Does this mean we should probably go with Java or does the better graphics capabilities of Flex still make it a better choice?

View 5 Replies

Java :: Can Flex Be Used For A Desktop Application

Nov 2, 2010

Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).

View 4 Replies

Actionscript :: Dragging From Desktop To Air Application?

Jan 3, 2012

I have been looking all over the internet and I can't find any good (or recent) example from a air application where an image (for example) is dragged from the desktop in the application.

The problem is that flashbuilder gives errors on:

import flash.desktop.DragActions;
import flash.desktop.TransferableData;
import flash.desktop.TransferableFormats;
import flash.desktop.DragManager;

(and this are only the errors at the import section)I know this last one can be replaced by mx.managers.DragManager, but this is another class since than I get errors on "DragManager.acceptDragDrop" for example...

View 1 Replies

ActionScript 3.0 :: Flash Player Within Desktop Application

Feb 10, 2012

I am trying to work out an approach to developing a desktop application that would play movies, games and various flash material such as flash games and flash flip books. The movies will be in both video format and swf format, and will need to be compressed and encrypted for transmission to users and decompressed/decrypted by our player so as not be viewable by other players. The installer would be platform / OS dependant.

The player / user interface would need to be written in a 'portable' language so it can be cross-complied to different platforms ( Windows, Linux/Android, Mac, Iphone/Ipad, ... ) If this is not possible than atleast it should work on the PC and MAC. The idea here is to ideally maintain one code base so the client will experience the same interface on each platform we support.

My questions are-
What would be the best approach to develop these applications?
Is it possible to acquire public / open source code where much of the work has already been done and then add my code to it?
If open source code is available where could I get it from?

View 1 Replies

Data Integration :: Desktop Application Using Flash

Dec 3, 2007

I want to create a Desktop Application using Flash. how to create a executable Flash Application and how to connect the flash with database in a desktop Application.

View 1 Replies

ActionScript 3.0 :: Playing Video In Desktop Application?

Feb 25, 2011

I'm trying to play two H.264 encoded videos (.mov) within an AS3 desktop application. I have tried publishing both Air and Projector but both are having (different) problems with playback. When testing the swfs within Flash they both work fine.I'm using a simple NetStream function to play the videos from a local directory. Like I said they both run fine within Flash, so I feel like I'm missing something obvious, but have found it difficult to find documentation on streaming locally.

The Air app works best, but can't seem to play the second video. (I also have been having awful trouble getting around security issues of Air as I'm using LocalConnection in another part of the app, so would prefer not to use it).The projector starts playing both videos but very quickly starts to stutter and choke, and eventually freezes the entire app.The Adobe documentation says that it is possible to use NetStream locally, but maybe this isn't the case?

View 2 Replies

Flex :: What Technology For A Rich UI Desktop Application?

Apr 6, 2010

For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?

- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?

View 5 Replies

Java :: Trigger A Desktop Application From Website?

Jul 26, 2010

I need to do click a button within the admin side of my external website and cause it to trigger an application within my local workstation (with parameters based on button). I have full control of the server, PHP, etc. I can also install any application on my workstation. What is the best way to do this? Adobe AIR/Flash? Java?

View 4 Replies

Flex :: Loading SWC / SWZ's At Runtime Within A Air 2 Desktop Application?

Sep 23, 2010

Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?

Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....

View 2 Replies

Flex :: Build A Desktop Application With Builder?

Jan 18, 2011

I recently got flex builder 3, and it seems to be a really cool IDE.

View 4 Replies

Flash :: Why Can't Log A User Out Of Facebook In An AIR Desktop Application

Sep 23, 2011

I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:

protected function logout():void {
FacebookDesktop.logout(handleLogout, APP_ORIGIN);
}

I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.

View 1 Replies

Java :: Flex GUI Compatibility For Desktop Application?

Feb 10, 2012

i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.

or any other powerful framework to make rich GUI interfaces for Java desktop applications.

View 1 Replies

Flex :: What Technology For A Rich UI Desktop Application

Jun 28, 2010

For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )

View 13 Replies

ActionScript 3.0 :: Flash Desktop Application With Database?

Nov 2, 2010

I want to know if I can make a flash desktop application Depends on mySQL database or any database , but without need to php code or server , I want the application to work as a desktop application.

View 2 Replies

ActionScript 3.0 :: Signal From A Desktop Lash Application To The COM Port?

Nov 13, 2008

How do I script to connect /send a signal to the COM port of the PC from a Desktop Flash application. The Signals can be variables such as "1/2/3/4" . The signals will be send on a corresponding click in the flash application. For eg: if I click button "A" in the Flash application, it sends a signal "1" to the COM Port. If I click the Button"B", it send the signal"2" to the COM Port.

View 1 Replies

Professional :: Copy A PDF To The Users Desktop (through A Flash Application.exe)

Jun 10, 2011

I have a flash application. One of the options is to copy a pdf onto the users desktop, but I can not seem to get it to work. I am writing a flash application that sends "fscommands" out to batch files.  This is what my batch file looks like:---------------------------------------------------------------------- ---------------------------------------@ echo off copy ../Application/pdf/Ebook.pdf %userprofile%Desktop exit---------------------------------------------------------------------- -----------------------My intent is to copy the specified file to the user's desktop.  So far it does not function.

View 1 Replies

ActionScript 3.0 :: Back Button Functionality In Desktop Application

Mar 1, 2012

I need a back button functionality in my Desktop application in flash, in my app there is lots of page including home page, I am able to go back at one level but how can I do this at number of level, What logic I should implement to maintain the back page at number of level.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved