I remember writing a cross-platform library for web authentication that worked with signed cookies. You would log in through a PHP form and then I wrote modules to check the cookie and refresh it in just about every language used in web development in the early 2000s. That included PHP, Perl, Java, C#, Cold Fusion, and others.<p>Of all the authentication modules, the one in Perl was the shortest and sweetest.