View Full Version : online/offline login form.

07-13-2009, 08:02 AM
i m developing my application in adobe AIR using flex3

and i want to make a login functioning in my application so that user can

login when he is online as well as he is offline

i basically want to know that how can i perform the funtioning of offline

means offline database storage

can anyone tell me how can i do this?

if possible than tell me the steps n code..............

07-13-2009, 10:14 AM
Log into what (when offline)? Or do you mean you want to install some SQL server with the app? Well, in that case I think you can do exactly the same way as you did for online version, just change the url of the database to localhost...

07-13-2009, 10:56 AM
Actully i dont want 2 add sql with my application......
what i want that when user install my application on his desktop
and when he run that app offline so he can do offline login......
so for that i want nto maintain a offline database....
well how can i maintain a ofline database?
in this once the user has done his registeration online, then he can do offline login.
plz provide me the code n steps also, if possible?

07-14-2009, 10:14 AM
>> i dont want 2 add sql with my application
>> i want to maintain an offline database

You cannot do this at the same time, one cancels the other.

07-14-2009, 12:29 PM
actully i want to use sqlite database for offline storage..........
n i want to ask the funtionality of that.....!
ofcourse for online purpose i hav to use mysql..