๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ gritty โ€บ 17064 captured on 2024-06-16 at 17:04:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2024-05-26)

โžก๏ธ Next capture (2024-08-18)

๐Ÿšง View Differences

-=-=-=-=-=-=-

Comment by ๐Ÿ€ gritty

Re: "Got CGISESH working. Simple demo."

In: u/stack

it shows my hash but I get an error: 111

๐Ÿ€ gritty

May 17 ยท 4 weeks ago

3 Later Comments โ†“

๐Ÿš€ stack [OP] ยท May 17 at 19:13:

@gritty, the server is not up at the moment. The hash is just from the CGI...

๐Ÿš€ stack [OP] ยท May 17 at 19:20:

@gritty: back up... I started 'server' from an ssh command line and it was killed when my session disconnected. It's just a toy for now, obviously it needs to run as a daemon, or at least in a tmux session!

๐Ÿ€ gritty ยท May 19 at 01:52:

I don't know much about SCGI but what I read is that one server is started for all incoming requests and uses sockets. I know molly brown supports it.

do you think an SCGI server could hold sessions in memory like this?

Original Post

๐Ÿš€ stack

โ€” tilde.cafe/~stack/cgisesh/live/cgitest

Got CGISESH working. Simple demo. โ€” Click on the link; the cgi will keep track of how many times you visit (refresh to see the counter go up). If my cgisesh server is running, of course. This simple cgi uses cgisesh to keep session information for each user (visit count in this simple example). cgisesh is a minimal in-memory key-value server designed to provide per-user session data for Gemini CGI...

๐Ÿ’ฌ 4 comments ยท 2 likes ยท May 17 ยท 4 weeks ago