Re: session management
"Alexander J. Oss" <[email protected]> Tue, 27 Apr 2004 21:23:02 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <002f01c42cbf$5a3b2de0$11bffea9@puter> |
May I recommend that if you add in session management, you create an interface class with an overrideable factory that by default provides your default implementation? If someone is writing CGI applications and needs session management, they'll likely want to override what you provide (e.g. in my case a SQL Server-backed session data store, and a simple session-identifying cookie). Some applications rely on query string session identifiers, too, to avoid cookie incompatibilities/unavailability. Session management really exceeds the CGI mandate. Perhaps session management should be part of FastCGI? ----- Original Message ----- From: "Stephen F. Booth" <[email protected]> To: "'Edward Wilson'" <[email protected]>; <[email protected]> Sent: Tuesday, April 27, 2004 4:29 PM Subject: RE: [help-cgicc] session management I've actually been thinking about adding session support to cgicc- I've been doing a lot of PHP programming and am very impressed with the way it handles sessions. I was thinking of a simple file-backed system with the session ID in a cookie. Stephen > -----Original Message----- > From: [email protected] [mailto:help-cgicc- > [email protected]] On Behalf Of Edward Wilson > Sent: Monday, April 26, 2004 1:59 PM > To: [email protected] > Subject: [help-cgicc] session management > > Does cgicc handle session state management yet, or must that be managed on > one's own still? > > Also, is there a means for caching database connections? > > > - > ed > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25¢ > http://photos.yahoo.com/ph/print_splash > > > _______________________________________________ > help-cgicc mailing list > [email protected] > http://mail.gnu.org/mailman/listinfo/help-cgicc _______________________________________________ help-cgicc mailing list [email protected] http://mail.gnu.org/mailman/listinfo/help-cgicc