|
-
Jul 31st, 2010, 03:17 PM
#1
Thread Starter
New Member
Client-Server Login
Hy there everyone!
I try to make one application that will first show login form (with textbox for username and password) and when I press login client application send request to server side application that make SQL query (local) and return some values and that values will be listed in main form.
I hope that you understand what I want to do, I try something with TCP chat source codes but I don't manage what I want.
If someone maybe know better way to do this, freely post
Thanks!
Bizz
-
Jul 31st, 2010, 08:48 PM
#2
Re: Client-Server Login
Perhaps you could show us what you already have because there's no point us providing an end to end solution if you already some or all of the parts in place. Also, what sort of server are we talking about? Do you have anything in place already or are you open to suggestions? If so then you you should probably look at creating a web service.
-
Aug 1st, 2010, 02:55 PM
#3
Thread Starter
New Member
Re: Client-Server Login
For now, I only have simple chat system (Client-Server-Client)
-
Aug 1st, 2010, 08:22 PM
#4
Re: Client-Server Login
You're going to have to provide more detail than that. If you have a simple chat system then you already know how to pass data back and forth between the client and the server. Data is data, so if you can pass data then you can pass anything. It's simply a matter of interpreting the data appropriately. You need to decide how to identify what's a login and what's a message and, if the data is a login, how exactly it's formatted. These are decisions for you to make. There's no one right way. You just need something that works and, hopefully, is simple and efficient.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|