Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2008, 01:10 PM   #1 (permalink)
New Member
 
Join Date: Dec 2008
Location: Mexico
Posts: 1
carlos is on a distinguished road
Default Hi! Need some help with my iPhone app!!

I'm a mexican developer and I'm trying to create an iPhone app that logs into a ASP.NET server which has an Microsoft Access Database and displays a TableView with the contents it returns from the Database. For the moment my question is this: How can I create a login screen with username and password to connect to the ASP server before it displays the TableView and its contents? I know how to create the view and the labels and stuff, but I don't know which code is needed to connect to ASP with the username and password the user provide in the TextFields so it can authenticate him. I've follow some tutorials here, but I'm trying to make the login screen that should appear first and then take me to the Table only if I have successfully logged in. Can you please help me?? Thanks!!
carlos is offline   Reply With Quote
Old 12-15-2008, 02:35 PM   #2 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 123
dicklacara is on a distinguished road
Default

Quote:
Originally Posted by carlos View Post
I'm a mexican developer and I'm trying to create an iPhone app that logs into a ASP.NET server which has an Microsoft Access Database and displays a TableView with the contents it returns from the Database. For the moment my question is this: How can I create a login screen with username and password to connect to the ASP server before it displays the TableView and its contents? I know how to create the view and the labels and stuff, but I don't know which code is needed to connect to ASP with the username and password the user provide in the TextFields so it can authenticate him. I've follow some tutorials here, but I'm trying to make the login screen that should appear first and then take me to the Table only if I have successfully logged in. Can you please help me?? Thanks!!
Quote:
Originally Posted by carlos View Post
I'm a mexican developer and I'm trying to create an iPhone app that logs into a ASP.NET server which has an Microsoft Access Database and displays a TableView with the contents it returns from the Database. For the moment my question is this: How can I create a login screen with username and password to connect to the ASP server before it displays the TableView and its contents? I know how to create the view and the labels and stuff, but I don't know which code is needed to connect to ASP with the username and password the user provide in the TextFields so it can authenticate him. I've follow some tutorials here, but I'm trying to make the login screen that should appear first and then take me to the Table only if I have successfully logged in. Can you please help me?? Thanks!!
Not sure I understand...

If you access the server from the web, wouldn't the server present a login screen before it allows access to the site?

If so, the easiest way for you to access the site from the iPhone using an UIWebView.

That way, you can access the web site (with its login) within your app (not leaving the app to go to safari).

Or, If you know what the web site expects, you can generate the http requests within the app after the user enters userID, password into a view that you provide. Have a look at NSURLRequest in the docs to see how to interface the server,

HTH

Dick

Y, andele!
dicklacara is offline   Reply With Quote
Reply

Bookmarks

Tags
asp, asp.net, iphone, login, microsoft access

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 358
14 members and 344 guests
dansparrow, dre, ilmman, LezB44, lorrettaui53, Nobbsy, Objective Zero, oztemel, pbart, samdanielblr, shagor012, sledzeppelin, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:47 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0