Re: HttpClient to Servlet

2003-02-05 Thread Christian Bollmeyer (GMX)
Am Mittwoch, 5. Februar 2003 00:19 schrieb Sloan Michael: > According to http://java.sun.com/products/servlet/2.3/javadoc/index.html > > It looks like getSession() and getSession(true) do the same thing. > getSession(true) does not > create a new session if one already exists. You're absolutely ri

Re: HttpClient to Servlet

2003-02-04 Thread Sloan Michael
; Evan Wright, iLabs Inc. > Sent: Tuesday, February 04, 2003 11:39 AM > To: [EMAIL PROTECTED] > Subject: Re: HttpClient to Servlet > > > Create a session object the first time the client connects > (log

Re: HttpClient to Servlet

2003-02-04 Thread Christian Bollmeyer (GMX)
bling the GUI thing. Thought I made that somewhat clear before. Didn't I? > -Original Message- > From: A mailing list about Java Server Pages specification > and reference [mailto:[EMAIL PROTECTED]] On Behalf Of > Evan Wright, iLabs Inc. > Sent: Tuesday, February 04, 2003 1

Re: HttpClient to Servlet

2003-02-04 Thread Evan Wright, iLabs Inc.
ruary 03, 2003 4:29 AM Subject: Re: HttpClient to Servlet > I don't know in practise how to do this but in principle what you need to do > is send a cookie with the same session id with evey request, this means you > need to set a header variable using the following meth

Re: HttpClient to Servlet

2003-02-03 Thread randie ursal
actually i'm just using my own java app that works almost like the HTTPClient. may i know the response parameter key to access in order for my app to know the session id return by the server, im accessing a Servlet, will JSESSIONID be the one to use? thanks a lot. Steven J. Owens wrote: O

Re: HttpClient to Servlet

2003-02-03 Thread Christian Bollmeyer (GMX)
Am Montag, 3. Februar 2003 15:15 schrieb Adrian Janssen: Hi, well, he's right. Sessions are a server-side thing, so the server has to generate and track them later on in its effort to overcome the statelessness of the HTTP protocol. There are at least three common approaches to this (cookies, URL

Re: HttpClient to Servlet

2003-02-03 Thread Steven J. Owens
On Mon, Feb 03, 2003 at 09:58:38PM +0800, randie ursal wrote: > but as what i have read about HttpSession, the servlet engine is the > one that would generate the session Id for each session object > created. then this Id will be provided to the clients during > response for the clients to use duri

Re: HttpClient to Servlet

2003-02-03 Thread Adrian Janssen
x27;t really know, let me know what you find out though! > -Original Message- > From: randie ursal [SMTP:[EMAIL PROTECTED]] > Sent: 03 February 2003 03:59 > To: [EMAIL PROTECTED] > Subject: Re: HttpClient to Servlet > > but as what i have read about HttpSession, the

Re: HttpClient to Servlet

2003-02-03 Thread randie ursal
y 2003 12:08 To: [EMAIL PROTECTED] Subject: Re: HttpClient to Servlet sorry wrong grammar. =) can i make use of the sessionid created during 'getSession(true)'? DOES this sessionid be included in the response of the servlet to the HttpClient? how do i get this sessionid? randie u

Re: HttpClient to Servlet

2003-02-03 Thread Adrian Janssen
TP works. Good luck, you are on your own from here, if you get it right please post back to the list and tell us how you managed to do it. > -Original Message- > From: randie ursal [SMTP:[EMAIL PROTECTED]] > Sent: 03 February 2003 12:08 > To: [EMAIL PROTECTED] >

Re: HttpClient to Servlet

2003-02-03 Thread randie ursal
consistent accross your calls. The value should be inscrutably random for security purposes though. Hopefully someone else can elaborate on this. Cheers Adrian -Original Message- From: randie ursal [SMTP:[EMAIL PROTECTED]] Sent: 03 February 2003 11:08 To: [EMAIL PROTECTED] Subj

Re: HttpClient to Servlet

2003-02-03 Thread Adrian Janssen
-use the same number for all subsequent calls. > -Original Message- > From: randie ursal [SMTP:[EMAIL PROTECTED]] > Sent: 03 February 2003 11:41 > To: [EMAIL PROTECTED] > Subject: Re: HttpClient to Servlet > > can i make use of the sessionid created during &#x

Re: HttpClient to Servlet

2003-02-03 Thread randie ursal
Sent: 03 February 2003 11:08 To: [EMAIL PROTECTED] Subject: HttpClient to Servlet hi, When i try to access my servlet from a Java Application using URLConnection, every request was considered as a new HttpSession. I was able to check this using the 'getSession(false)' and it re

Re: HttpClient to Servlet

2003-02-03 Thread Adrian Janssen
--Original Message- > From: randie ursal [SMTP:[EMAIL PROTECTED]] > Sent: 03 February 2003 11:08 > To: [EMAIL PROTECTED] > Subject: HttpClient to Servlet > > hi, > >When i try to access my servlet from a Java Application using > URLConnection, every reque

HttpClient to Servlet

2003-02-03 Thread randie ursal
hi, When i try to access my servlet from a Java Application using URLConnection, every request was considered as a new HttpSession. I was able to check this using the 'getSession(false)' and it result to not NULL which means that a new HttpSession was created. How can i implement my Java applica