[development] sessions problem

Gerhard Killesreiter gerhard at killesreiter.de
Wed Dec 24 08:14:32 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sheryl (Permutations Software) schrieb:
> Larry Garfield wrote:
> 

>> Check through its code and see where it is saving what to the session.
> 
> It would be very hard for me to figure out what it's saving to
> $_SESSION and why (what's necessary and what is not). It's a big,
> complicated program.  That's why I really liked Moishe's suggestion
> of just disabling all writes to the sessions table in Drupal. And it
> seems to me that it should have worked, but it didn't, so I think
> there is something wrong with how I implemented it.

Earlier you wrote:

1. I put the session_save_session(FALSE); line at the top of the
phpFreeChat module code, and it broke phpFreeChat. Was this the right
place to put it?


No, apparently not. It is hard to guess what went wrong without an
error message, though. I'd try to put the statement into various hooks
(init, exit, ...?) and see which works.

Few people will be inclined to debug the whole phpFreeChat script for
you.

Cheers,
	Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklR72gACgkQfg6TFvELooQeqwCfZHxhCv2sC0e/XY9knEmd6h96
nQsAoJjECuPSlLoZz3IbX4P2NQpJAhGg
=6AWu
-----END PGP SIGNATURE-----


More information about the development mailing list