[gopher] Session support for CGI scripts

Kim Holviala kim at holviala.com
Sat Dec 20 06:22:01 UTC 2014


I was trying to find out what other CGI servers would use for session id but couldn’t find any existing examples. So, what’s the consensus of this list: if CGI app has session id in it’s environment variables, what variable name would be best?

Contestants so far:

- $SESSION_ID
- $SID 


- Kim


> On 20 Dec 2014, at 5:16, James Mills <prologic at shortcircuit.net.au> wrote:
> 
> Nice work Kim :)
> 
> Can we call it $SID ? ::)
> 
> cheers
> James
> 
> 
> James Mills / prologic
> 
> E: prologic at shortcircuit.net.au <mailto:prologic at shortcircuit.net.au>
> W: prologic.shortcircuit.net.au <http://prologic.shortcircuit.net.au/>
> 
> On Fri, Dec 19, 2014 at 10:28 PM, Kim Holviala <kim at holviala.com <mailto:kim at holviala.com>> wrote:
> Howdy,
> 
> I just added proper session id support for CGI scripts in Gophernicus 1.7-alpha. Gophernicus has always tracked users and sessions but for some reason I never exported any SID to CGI scripts… until now with $SESSION_ID
> 
> Example live dump of CGI vars:
> gopher://gophernicus.org/0/cgi-bin/dump <http://gophernicus.org/0/cgi-bin/dump>
> 
> Download:
> gopher://gophernicus.org/1/software/gophernicus/ <http://gophernicus.org/1/software/gophernicus/>
> 
> 
> 
> - Kim
> 
> 
> _______________________________________________
> Gopher-Project mailing list
> Gopher-Project at lists.alioth.debian.org <mailto:Gopher-Project at lists.alioth.debian.org>
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project>
> _______________________________________________
> Gopher-Project mailing list
> Gopher-Project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20141220/11155615/attachment.html>


More information about the Gopher-Project mailing list