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
; 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
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
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
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
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
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
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
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
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]
>
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
-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
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
--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
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
15 matches
Mail list logo