Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

RE: ASP authentication

Subject: RE: ASP authentication
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

<Prev in Thread] Current Thread [Next in Thread>