----------------------------------------------------------------
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 used Netscape and I noticed that the applet is creating a new session
ID while connecting to the server.
If you use explorer it uses the same session within the applet.:-)
What I did is to keep track of the applet sessions separetaly to
identify the user but there might be better solutions...
BR,
Istvan
Deniz Demir wrote:
>
> ----------------------------------------------------------------
> 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,
>
> Server version: Apache/1.3.12 (Unix) (Red Hat/Linux)
> ApacheJServ-1.1.2
> gnujsp-1.0.1
>
> I am using a servlet that loads an applet into browser and makes
> authentication and then send a URL (an html frame that has a JSP page)
> to applet and then applet load that address by showDocument() method.
> Communication between applet and servlet is by URLConnection sockets.
>
> Before servlet sends the new page's URL to the applet, servlet stores
> some objects into session. But new page (JSP page) has different
> session, so I cannot get the objects that I have put into session.
>
> Why Apache (or somethingelse) creates new session while showing new
> page. How can I prevent from creating new session? or is there any
> configuration issues for this.
>
> Note:
> I have run these pages (servlet and jsp and storing objects into session
> and got them) by JavaWeb Server, and it works, but the same codes do not
> work with Apache, it creates new session while loading JSP. I can see
> the session ids, servlet's is seen because a parameter to applet, and I
> also print the JSP's session id, they are different.
>
> Deniz Demir.
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]