Hi to comunity, i'm developing some scripts (handlers) that need (or that's
what i think) to fill the ENV hash, so i can take the cookie data.
<br>
The cookie i read contains the ID and the PASS, which i will test with user
archive in order to give he/she "permission" to do some things.
<br>
The problem arises when somebody access to the page, and sees as if
he/she was the last user loged into the system.
<br>
After reloading this user sees the normal input boxes to enter data.
<br>
My first try was to create a blank cookie (anon user) by everybody that
has no user cookie already (from lasts logins), but soon i realised that the
handler was executed with a SSI directive (filter module) so it was before
than sending the anon cookie to the user's navigator.
<br>
It was clear that the ENV hash did not clean itself, so i try google and i
saw the order
$r->subprocess_env->clear;
<br>
But this has not solved my problem (of course it is not cleaning the ENV
hash, i put the order just before than filling the ENV).
<br>
<br>
<br>
At this point, i have these options:
- to erase the ENV{HTTP_COOKIE} after having read, i have not tested yet
- to read cookie without filling the ENV, filling the ENV is of high cost, is
there any way to read a cookie through any other way???
I have found almost no data about this, and i am lost just now.
NOTE: The user that appears to be loged with the last user login visits the
page with a computer different from the first.
-----
Pon en tu m�vil los logos, postales y tonos de Matrix Revolutions. En
http://logos.ya.com/SLogo/$M=special$SP4
Ya.com ADSL:Router 3Com Wireless 11g + 1Mes + Alta Gratis
http://acceso.ya.com/adsl/256router/
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html