Writing a Delphi face recognition integration with Deepstack
Learn how to integrate Delphi with Deepstack to run your own face recognition service.
Using non supported values in TCookie
A couple of weeks back, a web server user from one of the Delphi groups I am part of was complaining about support of new missing elements in the TCookie class that comes with Delphi. For those who are uninitiated in cookies, cookies are small bits of information that the web server send to the …. Read More
Fixing your web broker application that use SSL/TLS
Some of you may have been issues with browsers connecting to your web broker applications. This problem has come up at different times for different people. For me, this happened last week. Suddenly, my Firefox browser wasn’t able to connect to my web applications written in Delphi. After an excruciatingly painful hour, I finally figured …. Read More
Activating SSL / TLS in your Delphi 10.4 web server application
Until recently (pre Sydney 10.4) , you could activate SSL on any port (not just 443) on your Delphi web server application pretty easily by giving the cert and the key file along with the password event to the SSL IO handler object. However, that has changed in the latest version. If you use the …. Read More
Implementing your own simple Roles mechanism in Delphi MVC Framework
Important Note: DMVC already has a Roles framework in place which is quite sophisticated and you can find it in the samples. My purpose of writing this blog is to demystify the subject by explaining it conceptually and then implementing it with bare hands so that you can understand the functionality of it all. In …. Read More
Managing session information in web tokens in Delphi MVC Framework (Part 5)
In the previous section, I had explained how the web token is sent to the client using cookies. I also explained how those cookies need to be configured. In this section, I will explain how to pass the web token we received from the server to other microservices for authentication. We saw that our web …. Read More
Managing session information in web tokens in Delphi MVC Framework (Part 4)
In the previous section, I explained what a web token consists of and how you can generate it from your Delphi code. In this section, we will talk about how that token is sent to the client for further use and information sharing across different microservices. Remember the unit we created for the token generation …. Read More
Managing session information in web tokens in Delphi MVC Framework (Part 3)
In the previous section of this series, we delved into the concepts of encoding data and hashing it. In this section, we will write some code to implement what we understood. Like I mentioned before, a web token will consist of two components Encoded DataHash string Lets implement a helper function that generates the above …. Read More
Hosting your Embarcadero Delphi RAD Server on new machine
I get this question every once in a while, “How do I host a RAD Sever instance on a new machine??” Well… here’s how… Step 1: Goto https://reg.codegear.com/srs6/activation.do Step 2: Put in your RAD Server license key and your License Certificate Number. This information is probably come to you on your registered email address from …. Read More
Managing session information in web tokens in Delphi MVC Framework (Part 1)
This is the first part of the series leading to using web tokens in Delphi MVC Framework. So why this blog? This is blog is an outcome of the problems I needed to solve when writing my web application. I will first try and define the problem and then show you how you can over …. Read More