Mega Code Archive

 
Categories / Delphi / Examples
 

Websnap session management for cgi

WebSnap session management using TSessionsService is not available for CGI applications or Kylix web apps, but Bob Swart explains what the problem is, what to do about it, and how he solved it to provide full session management for all web app targets. Those of you who have already worked with WebSnap may have found out the hard way, like I did, that WebSnap session management using the TSessionsService component is not available for every possible target. Specifically, you’ll find it won’t work at all for CGI applications nor any Kylix web server application on Linux. In this article, I’ll explain what the problem is, what to do about it, and how I solved it for my own situation using WebSnap CGI web server applications written in Delphi 6 Enterprise as well as Kylix 2 Enterprise.