By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

Sessions with register_globals=off

P: n/a
I'm stuck tryin to use my own (db-connected) session-handlers. After
registering them with session_set_save_handler () everything works fine as
long as register_globals is turned on.

After turning register_globals OFF, PHP won't call my write-handler anymore
! Even thogh I am NOT unsing session_register () to register the variables.
I am using $_SESSION['var']="content" to register some values but even that
won't work !

What else do I have 2 do to get this workin ?

Thanks

M. Ziebart
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Wednesday 27 of August 2003 23:12, Martin Ziebart wrote in comp.lang.php:

After turning register_globals OFF, PHP won't call my write-handler
anymore ! Even thogh I am NOT unsing session_register () to register the
variables. I am using $_SESSION['var']="content" to register some values
but even that won't work !


It might be a silly question, but do you also read the data from the
variable using $_SESSION['var']?

--
Robert Jirik
[mailto:robert(at)aristoteles(dot)xhaven(dot)net]
public PGP key: http://xhaven.net/robert/pgp_key.asc
-
Scandisk is now checking your hard disk. You can start praying

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.