๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ stack โ€บ 17067 captured on 2024-08-31 at 14:45:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2024-08-18)

๐Ÿšง View Differences

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

Comment by ๐Ÿš€ stack

Re: "Got CGISESH working. Simple demo."

In: u/stack

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

๐Ÿš€ stack [OP]

May 17 ยท 3 months ago

2 Later Comments โ†“

๐Ÿš€ 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 months ago