Inline

> -----Original Message-----
> From: Boris Erukhimov [mailto:[EMAIL PROTECTED]]
> Sent: Martes, 06 de Febrero de 2001 15:41
> To: Orion-Interest
> Subject: Re: Client site HttpSession simulating
> 
> 
> Thanks a lot Juan, it's working.
> Is it possible for https session ?
Uh, I don't know, but I'd guess not. SSL has it's own kind of session
tracking that is very similar to a cookie. This is the preferred way of
doing it; and it will work on browsers that don't accept cookies
> I've also found out that URL rewriting syntax is server 
> specific, which
> means it's not part of the spec ?
it isn't part of the spec, but I think tomcat perfoms equal than orion.
> 
> 
> "Juan Lorandi (Chile)" wrote:
> 
> > you have to postfix any URL with ";JSESSIONID=<id>"
> >
> > NOTE THE SEMICOLON
> >
> > JP
> >
> > > -----Original Message-----
> > > From: Boris Erukhimov [mailto:[EMAIL PROTECTED]]
> > > Sent: Lunes, 05 de Febrero de 2001 10:45
> > > To: Orion-Interest
> > > Subject: Client site HttpSession simulating
> > >
> > >
> > > I have a site which stores user profile in HttpSession after
> > > user gets in
> > > supplying user id and password.
> > > I need to provide some client site batch operation on the
> > > site using standalone
> > > java client.
> > > I remember old servlet spec which allowed you to embed
> > > session ID into URL if
> > > there is no way to use cookies to handle HttpSession.
> > >
> > > The scenario is:
> > >
> > > 1. My client java program creates HttpURLConnection for the
> > > site login response
> > > URL with valid user ID and password.
> > >
> > > 2. Then client gets HTML response proving successful login.
> > > According to the
> > > application logic a new session has been created and 
> client receives
> > > "Set-Cookie" response header with some value like
> > > "JSESSIONID=BGDBPNFMPDGO; Path=/".
> > >
> > > 3. Assuming JSESSIONID is a name Orion wants to identify
> > > session id I include
> > > JSESSIONID=BGDBPNFMPDGO into query string for my next 
> client request.
> > >
> > > 4. Client gets HTML response such as in case session was not
> > > established yet -
> > > new session has been created.
> > >
> > > So, Orion does not recognize "JSESSIONID=BGDBPNFMPDGO" in
> > > request pointing to
> > > existing HttpSession.
> > >
> > > Am I missing something obvious ? Or it might be some
> > > time/racing issues ?
> > >
> > > I need thins functionality very much. Any help would be
> > > greatly appreciated
> > > Thanks
> > >
> > > ~boris
> > >
> > >
> > >
> > >
> 
> 

Reply via email to