PHP prog I need your help. (SESSION VAR into DB)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qw12er
    Confirmed User
    • Apr 2004
    • 799

    #1

    PHP prog I need your help. (SESSION VAR into DB)

    I want to put some session var in my database when the users close their browsers. How can I do this ?

    I tryed session_set_save_handler(); I thought that by overwritting the close and destroy function I could put the session var into my data base there. But for somereason the code isn't executed. (I don't quite understand why the destroy function isn't call automatically by the system when I exit the site).

    Any ideas ?
    I have nothing to advertise ... yet.
  • sexdwarf
    Confirmed User
    • Jan 2005
    • 196

    #2
    personally i hate using the built in php session handler... look into Sessionara... it uses mysql as the storage device, is very handy to use and you have alot more control over the whole process...
    ICQ me for any programming projects - Agency quality work for non-agency prices
    ICQ 337 028 441

    Comment

    Working...