I have three uses for grabbing a session by ID right now, and I'm betting as
I go along there will be more.
1) AJAX instant messanging. When two people initiate an IM conversation, I
would like the messages to be delivered by session ID.
2) PayPal. I would like the session that initiated a purchase to be
indicated in the PayPal IPN. I can do that without actually looking up the
session, but it would be nice to do something with the session (eg; set a
flag) when the IPN comes in. Yes, I could set a flag on the "user", but what
if somebody is making a purchase without creating an account?
3) Applets. These can't/don't always pass the browser's cookies along. It'd
be nice to point applets at a url with the session id embedded, and then
work with that to figure out what user/session is using the applet.
So all I really need, is some way to get from a Session ID to a session