[PHPLIB] Fallback_mode not working? From: Manuel Hossfeld (lists <email protected>)
Date: 11/22/99

Hi all,

I discovered a very strange problem:
I recently migrated an existing PHPLIB application from
one machine to another. The only two things that really
changed were the underlying database (Oracle8i now) and
PHPLIB7.2 (I was using 7.0 before).
On the new machine, sessions seemed to have stopped
working. When I looked closer, I discovered that the
reason for this is that PHPLIB\'s session management now
_always_ uses fallback mode, i.e. GET - although
cookies are enabled. And since I didn\'t rig the links in
my application for this (i.e. I didn\'t use P_url() etc.,
simply because I don\'t need it in an intranet
environment where everyone has cookies enabled), my
session management is essentially broken now.
As an intermediary solution, I set fallback_mode to an
empty string - this fixes it. (Don\'t now why, though)
But it\'s not really the proper way, isn\'t it?
(Especially not for the future, where I at some time may
decide to allow for both Cookie AND Get mode...)

What went wrong? Any ideas?

Thanks in advance,

CU,
Manuel
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.