hi @all...
just now i am using session_set_save_handler() to modify the php-flatfile-session to mysql-usage. works pretty fine, but the problem is the garbage collector.
the sessiontable looks like [ sid | exp | sessvars].
there is also a members table which looks like [ id | name | lastlogin]
after login of the user, i am storing his/her userID in the session, and when the session runs out i want to update the lastlogin-field in the members table by the garbage collector.
first, i thought the session-variables would be stored by serialize() ... but it isn't that: the stored string is slightly different and by that i can't use unserialize() in the garbage collector function.
... and before starting to write an own function which gets me all the session values, i wanted to ask if somebody knows the right way to work with it....
thank you
axo