WebApp Sec mailing list archives
RE: ASP authentication
From: focus () karsites net
Date: Sat, 28 Aug 2004 08:28:52 +0000 (GMT)
Hi all. I'm running LAMP on my webserver - SuSE 8.1 pro. I would like to set up a mysql table to store php session data between pages. Does anyone know of a tutorial and example code on how to implement php sessions using a mysql database? I specifically need to know how to write the session_set_save_handler() user functions to implement database storage of session. Are there any good tutorials about this that anyone can point me to please. Kind Regards Keith Roberts On Fri, 27 Aug 2004, Zuech, Richard wrote:
To: Bénoni MARTIN <Benoni.MARTIN () libertis ga>, webappsec () lists securityfocus com From: "Zuech, Richard" <RichardZuech () miamibeachfl gov> Subject: RE: ASP authentication Setting a Session Variable is the best way IMHO. If it's just on one server the easiest way is to use a session variable that resides in memory. If the application is spread across multiple servers, use a session variable that gets stored in a Database (rather than RAM) so that the session variable is not lost (in another server's memory) on subsequent web requests via Posts/Gets. I hope that helps, Rich
Current thread:
- ASP authentication Bénoni MARTIN (Aug 27)
- Re: ASP authentication Erik Kangas (Aug 27)
- Re: ASP authentication saphyr (Aug 28)
- Re: ASP authentication security (Aug 29)
- Re: ASP authentication George Capehart (Aug 30)
- Re: ASP authentication Ido Mordechai Rosen (Aug 30)
- Re: ASP authentication Saphyr (Aug 31)
- RE: ASP authentication Brett Moore (Sep 01)
- Re: ASP authentication Ido Mordechai Rosen (Sep 01)
- Re: ASP authentication Saphyr (Aug 31)
- <Possible follow-ups>
- RE: ASP authentication Zuech, Richard (Aug 27)
- RE: ASP authentication focus (Aug 28)
- RE: ASP authentication pfeito (Aug 29)
- RE: ASP authentication focus (Aug 29)
- Re: ASP authentication Ido Mordechai Rosen (Aug 31)
- RE: ASP authentication Sarbjit Singh Gill (Aug 29)
- Re: ASP authentication Erik Kangas (Aug 27)
- FW: ASP authentication Rishi Pande (Aug 27)
- RE: ASP authentication Scovetta, Michael V (Aug 31)
- Re: ASP authentication Ido Mordechai Rosen (Sep 01)
- Re: ASP authentication Saphyr (Sep 01)
- Re: ASP authentication Ido Mordechai Rosen (Sep 01)