Re: confused about cookies

2002-07-11 Thread Alexander Lyubshav
Are there known problems with session scope? Specifying session scope in my deploy.wsdd results in: 1. SUCCESS: The server accurately has a "Set-Cookie" header on responses to requests without any cookie 2. FAILURE: When the client makes a request with this "Cookie", the server does NOT a

RE: confused about cookies

2002-07-08 Thread Robert Herold
It's in the source code. Not an acceptable substitute for complete documentation, but pretty handy! -- bob -Original Message- I feel there is a slight lack of updated documentation. Maybe I'm just looking in the wrong places. How did you know that the constant MC_HTTP_SERVLETREQUEST

Re: confused about cookies

2002-07-07 Thread Salmaan Rashid
although this email may not get attached to the right thread... Alex - I've actually implemented just such a way of appending sessionID information to an HTTP header so that the session is maintained across different calls (even different transports). It basically involves passing back a session

Re: confused about cookies

2002-07-04 Thread Alexander Lyubshav
> MessageContext msgContext = AxisServer.getCurrentMessageContext(); > HttpServletRequest req = >(HttpServletRequest)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); > System.out.println("A client on the IP address " + req.getRemoteHost() + " is >accessing my web service."); >

RE: confused about cookies

2002-07-03 Thread Eirik.Wahl
t;...getSession().getId();") Hope this helps (and was not obvious to you). Eirik Wahl -Original Message- From: Alexander Lyubshav [mailto:[EMAIL PROTECTED]] Sent: 3. juli 2002 19:45 To: [EMAIL PROTECTED] Subject: Re: confused about cookies > You want something like this: >

Re: confused about cookies

2002-07-03 Thread Alexander Lyubshav
text msgContext) throws AxisFault > > > { > > > Session session = msgContext.getSession(); > > > > > > --Barry > > > > > > -Original Message- > > > From: Alexander Lyubshav [mailto:[EMAIL PROTECTED]] > > > Sent: Tues

Re: confused about cookies

2002-07-03 Thread Andrew Vardeman
ROTECTED]] > > Sent: Tuesday, July 02, 2002 11:39 AM > > To: [EMAIL PROTECTED] > > Subject: Re: confused about cookies > > > > > > Great, that makes it easier! So, uh, how can I find out the session ID > > from > > within the server code? > > >

Re: confused about cookies

2002-07-03 Thread fd
To: [EMAIL PROTECTED] > Subject: Re: confused about cookies > > > Great, that makes it easier! So, uh, how can I find out the session ID > from > within the server code? > > > > > > >Thanks for your answer. I am not in control of the client though-- it &

RE: confused about cookies

2002-07-02 Thread Barry Levinson
:39 AM To: [EMAIL PROTECTED] Subject: Re: confused about cookies Great, that makes it easier! So, uh, how can I find out the session ID from within the server code? > > >Thanks for your answer. I am not in control of the client though-- it > >doesn't use the Axis framework

RE: confused about cookies

2002-07-02 Thread Barry Levinson
= new your.code.YourCodeService() ; blah.CookieContainer = new System.Net.CookieContainer() ; // add this to use the session cookie --Barry -Original Message- From: Andrew Vardeman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: Re: confused about co

Re: confused about cookies

2002-07-02 Thread Alexander Lyubshav
Great, that makes it easier! So, uh, how can I find out the session ID from within the server code? > > >Thanks for your answer. I am not in control of the client though-- it > >doesn't use the Axis framework either. Is there an easy way to do this > >without client support? (Well, of co

Re: confused about cookies

2002-07-02 Thread Andrew Vardeman
>Thanks for your answer. I am not in control of the client though-- it >doesn't use the Axis framework either. Is there an easy way to do this >without client support? (Well, of course the client will pass the Cookie >headers back.) I think that's all the Call.setMaintainSession() function

Re: confused about cookies

2002-07-02 Thread Alexander Lyubshav
Andrew, Thanks for your answer. I am not in control of the client though-- it doesn't use the Axis framework either. Is there an easy way to do this without client support? (Well, of course the client will pass the Cookie headers back.) Alexander > Alexander, > > If you want to use cookie

Re: confused about cookies

2002-07-02 Thread Andrew Vardeman
Alexander, If you want to use cookies for session management, you don't have to add a handler. You just need to specify session scope in your deploy.wsdd and tell the client to maintain session info. Check out this message: http://marc.theaimsgroup.com/?l=axis-user&m=101775995930045&w=2 whi

confused about cookies

2002-07-02 Thread Alexander Lyubshav
I looked in the mailing list archives for information on how to add cookie handling to a web service. (HTTP Cookies for sessions. also i'll need access to the session ID in the program.) I was swamped with a big collection of approaches, all of them "well I haven't done it but this should wo