----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
I am putting together a java client program
that pretends to be a web browser that
calls my servlets in order to stress test
them.
The problem is that every call from this
application results in a new session being
generated for it.
How do I pretend to be the same session?
I assume that I have to get the session id
and send it back as part of the URL's
POST data.
I looked at the header that JServ sends back
and it contains the field:
Set-Cookie: JServSessionId=3fd6....443; path=/
So, I encoded "JServSessionId=3fd6....443"
in the URL's POST data. Didn't help.
Any clues?
Thanks,
naeem
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]