Category: Web

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 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