Hi,
I can use the session storage from agavi now. The only thing that i
dont get is, how do i transfer the sessionId, or better said, the key
i use to write in the session, eg:
$sKey = "IamTheKeyToTheSecret";
$sValue = "IamTheValue";
$this->getContext()->getStorage()->write($sKey, $sValue);
to the next page.
In other words, on the page module=default&action=abc i write in the
session with the key:myKey. At the next page module=default&action=123
i want to read from the session, so i need the key myKey. How do I
transfer it from module=default&action=abc to
module=default&action=123 ?
Sure I could attach it as get-parameter. But with this mechanism i
annul the whole security mechanism... I offer the client more
information than he need.
my problem is that i dont get the session mechanism in agavi.
Agavi automatic create a session, which is stored in the database. Its
basicly an serialized Object. How does agavi now, which session
belongs which user? There must be a connection somehow that i didn't
discover yet.
Or is there a way to get to the session_id that is stored in the
Database. I dont know how this session_id is generated and how i get
the session_id... ?
Regards Erik
--
J. Erik Heinz
Keyboard-samuraing in process
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev