Re: getting Session from SessionId

2007-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mon, Mon Cab wrote: > I think its going to have to be solution 1. All Im really interested > in is user data associated with a session, so I'll probably map userId > to sessionID in the DB and then pull user info when the service sends > me a session

Re: getting Session from SessionId

2007-02-10 Thread Leon Rosenberg
On 2/10/07, Mon Cab <[EMAIL PROTECTED]> wrote: I think its going to have to be solution 1. All Im really interested in is user data associated with a session, so I'll probably map userId to sessionID in the DB and then pull user info when the service sends me a session id. I like the idea of t

Re: getting Session from SessionId

2007-02-10 Thread Frank W. Zammetti
Mon Cab wrote: I like the idea of the session map though. Maybe use a singleton to store the map and then access the sessions from there. Why do you say this might not be a good idea? For the same general reason getting access to a session that isn't associated with the request is probably a

Re: getting Session from SessionId

2007-02-10 Thread Mon Cab
I think its going to have to be solution 1. All Im really interested in is user data associated with a session, so I'll probably map userId to sessionID in the DB and then pull user info when the service sends me a session id. I like the idea of the session map though. Maybe use a singleton

Re: getting Session from SessionId

2007-02-09 Thread Frank W. Zammetti
Mon Cab wrote: Im guessing that this might require my storing the sessionId's in the db when the users log on. Such a shame. I think even doing that it wouldn't be possible to get the session object itself... I seem to recall there being some security restrictions around that (which makes

Re: getting Session from SessionId

2007-02-09 Thread Mon Cab
Im guessing that this might require my storing the sessionId's in the db when the users log on. Such a shame. --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Hi, > > I don't believe there is a container-neutral way to do this, I think > any > solution would have to be dependent on what

Re: getting Session from SessionId

2007-02-09 Thread Frank W. Zammetti
Hi, I don't believe there is a container-neutral way to do this, I think any solution would have to be dependent on what app server your running on and something specific to it. Frank (P.S. - I could be wrong! LOL) Mon Cab wrote: I am trying to integrate a web application to an external se