own login page

Is there a way to create an app which has a login functionality ?
eg.what I want is that there should be a username and password field that should connect to the database…plaese help me …its very urgent as I am left with very few time…please help me…I am not gettibg any idea as to how to start with… [import]uid: 45566 topic_id: 24621 reply_id: 324621[/import]

The Lua/Corona side of this is pretty easy, a couple of native.textFields and when they’ve filled out the two fields, call network.request() to some URL where your login server is sitting, when it responds, you have a function that network.request() calls back to with either success or failure of the login.

However, if you do not have a login server in place and you don’t have the requite web development skills (PHP/MySQL or .NET or .ASP or some other web request script talking to a database) then this is something you are not going to finish today or likely even this week.

If you do have the skills, its probably a days work to create the database, code up a PHP script that will take the username and password passed in as GET parameters (probably want to MIME base64 encode them), and then authenticate with the database.

You also will need some kind of registration form so people can create accounts. It could be a web form or you could have multiple fields in your app using native.textFields [import]uid: 19626 topic_id: 24621 reply_id: 99765[/import]

I would suggest that the last minute is not the best time to begin an application.

Have you looked at the UI samples and native controls API in the Resources section? There are some very simple to follow snippets for calling XML services to login to web sites or there is a recent blog post on using the built in SQL. [import]uid: 8271 topic_id: 24621 reply_id: 99766[/import]