Re: Session Variables How Many?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Session Variables How Many?

From: Andy Jeffries <news@andyjeffries.co.uk>
Date: Thu Mar 30 2006 - 21:00:13 CEST

On Thu, 30 Mar 2006 08:45:35 -0800, Barkster wrote:
> Good to know, I thought they were in the memory of the server. Could you
> give me an example of building my own handler? Thanks

PHP MySQL Session Handler example:
http://www.daniweb.com/code/snippet43.html

http://uk2.php.net/session_set_save_handler

It's not too bad if you use auto_prepend to prepend a global file that
defines stuff like that (or you always include the same include at the top
of every file).

Cheers,

Andy

-- 
Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer
http://www.gphpedit.org       | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Received on Mon May 1 02:45:13 2006