Re: how get Session Id from Java Application

2003-02-04 Thread Michael Weller
> > because if it is automatically included i might as well just access the > > response parameter name, in order for my java application to get the > > session id generated by my servlet, i just don't know the parameter name > > to use. > > That name should be different for dífferent containers.

Re: how get Session Id from Java Application

2003-02-03 Thread Chris Pratt
It's included in a cookie, the url or a request parameter. It's up to the servlet container you are using what it is named and which one to use. So you'll probably have to do some investigation on your own to figure it out. (*Chris*) - Original Message - From: "randie ursal" <[EMAIL PR

Re: how get Session Id from Java Application

2003-02-03 Thread randie ursal
isn't the session id automatically included on the response parameter from my servlet to the java app client? because if it is automatically included i might as well just access the response parameter name, in order for my java application to get the session id generated by my servlet, i just don'

Re: how get Session Id from Java Application

2003-02-03 Thread Shinichi Nakanishi
Hi Randie, I don't know what you want to do but let's say your Java application is accessing to your servlet through http. You can write the session id into http-header or something using getId(), which is a method of HttpServlet as other people also mensioned. I hope it helps you. Shinichi On

Re: how get Session Id from Java Application

2003-02-03 Thread ramachandra
Hi Randie, Use getId() -- which is a method of HttpSession interface for getting the sessionId created by your servlet. Every session created by the server has a unique 'id' associated with it in order to identify this session from other sessions. This method returns the 'id' of this se