----------------------------------------------------------------
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!!!
----------------------------------------------------------------
"Lynn, James" wrote:
> I am using a linux server running apache & jserv, and have a servlet that
> needs to track a users session
> This is being done successfully by using cookies.
>
> Hovewer at one point the user needs to post data from a page using https.
> ie:
> The user goes through a series of http servlet generated pages.
> The user posts some data from the last of these pages to a servlet via
> https.
>
> Both http and https point to the same servlet directory, and when the https
> is tested on its own
> it completes the required operation successfully.
>
> The problem is that :
> a) the https call creates a new cookie - ie effectively a new session
nope. maybe your browser does not send the previous cookie. That's
different.
You can easily check on :
IMPORTANT:
NB: use reload key, not the link on the page !!! <<<<<<< Achtung !
https://jnix.penguinpowered.com/dev/SessionServlet
http://jnix.penguinpowered.com/dev/SessionServlet
That your browser does use the same session on both URLs.
With Netscape 4.5 (French, NT) the same session is used.
Jean-Luc
--
--------------------------------------------------------------
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]