RTC Forums
November 23, 2024, 09:37:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: New example with login  (Read 5199 times)
mr_flash
RTC Expired
*
Posts: 4


« on: February 26, 2017, 10:53:40 AM »

Hi
I start to use RTC and unfortunately I have same problems with documentation. It is not too good. I have an existing program that uses client-server architecture in NexusDB and I want to use RTC for the program to work via the Internet. First I must login to my program. It would have been nice if the sample program had something like login and password verification database.What is UserPassword in rtcHttpClient ? How to use it ?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: February 26, 2017, 01:12:13 PM »

With the exception of basic Proxy and HTTP authentication, which are provided through the "userLogin" property for Clients running on Windows using the WinInet or WinHTTP API ("useProxy=TRUE" or "useWinHTTP=TRUE"), all communication between your Clients and your Servers should be managed using your own implementation, while RTC components ONLY handle the communication in general. This basically means that it is entirely up to you how you want to implement user login and authentication mechanisms in your RTC Applications.

If you are looking for one example of a login/logout mechanism implemented using RTC remote functions, you can check the RTC Messanger Client and Server Demos. Even though RTC Messenger Client and Server Demos do NOT use a Database (because RTC is not a Database-centric component set), if you were planning on using RTC Remote Functions for communication, these Demos will show you how you can handle Client Sessions and implement automatic user login/logout mechanisms when working with RTC remote functions. Please note that this is NOT the ONLY way to handle user authentication, but just one of the possibilities. You can also manually handle Sessions and/or implement different methods to authenticate your users.

PS. When you have a question, please use the search feature of this Forum to check if your question hasn't already been answered before starting a new topic. In addition to providing a platform for asking questions, this Forum also serves as an archive with solutions to most commonly asked questions. For example, entering "login" or "authentication" in the Search box will show you all topics directly related to your question. Here are just a few examples:
1. -> AutoSessions, AutoSessionsPing & AutoLogin
2. -> Connect, login and post first request
3. -> Database Access

Best Regards,
Danijel Tkalcec
Logged
mr_flash
RTC Expired
*
Posts: 4


« Reply #2 on: February 26, 2017, 02:57:43 PM »

Thank you for your fast answer. It is a pity that there is not a simple guide to the RTC. I think you would have more customers if begginers do not have to look for solutions by piece in forum. Perhaps more examples in the Demos would help to understand how the library works.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: February 26, 2017, 03:22:34 PM »

Quick Start and FAQ topics should cover the basics, but the RTC SDK is just too big and there are too many things one can do with it to cover everything in a simple guide. As for the Demos, it would take hundreds of examples to cover most questions and there would still be people asking for something that still isn't covered - or searching for something they can't find "in the mess".

We now have more than 700 topics with different questions about RTC SDK posted on the RTC Forums (500+ in the new forum and 200+ in the old). Even if most questions were covered in more than one topic (duplicates), it still leaves more than 300 different topics which would have to be covered in RTC documentation to MAYBE remove the need for new users to search the Forum or ask questions. But I seriously doubt that many people would read so much documentation before asking a question, which closes the circle and we are back where we started - on the Forum.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 17 queries.