[id://perrin], that makes sense for a normal request when the cookie is sent along with the request (or the session id is embedded in the url). What's probably missing from my OP is that initial request when the cookie is set -- in that case, what is MySession->get_session() doing to retrieve the just created session? You can't get the session id from the cookie (since you've just set it) and I really don't want to pass the session through several methods. In my mind, a singleton (per request) is what's needed but I'm not 100% certain since this is the first time I've had to deal with this particular situation (if I were doing the app from scratch, I'd code it in such a way as not to be in this situation!)
In reply to Re^2: RFC Singleton Sessions
by derby
in thread RFC Singleton Sessions
by derby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |