----------------------------------------------------------------
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'm working on an application running JServ1.0. Im storing a 'document'
object in the Session object. When I print the document, I print images
like <IMG SRC="com.blah.blah...">. It appears that the Session ID 
changes somehow, when I try to access the document object via a such
call. Following is the session id:

1 SES: 3fa1c11e0b902ec0.1.943888504869
2 SES: 3feae3d5f167b982.2.943888514916
3 Document in session object is null.
4 SES: 3fda3d884f064ff2.3.943888514962
5 Document in session object is null.
6 SES: 3fa1c11e0b902ec0.1.943888504869

1 The id of the session into which the document is inserted
2 The session id when picture 1 is being retrieved
3 Debug statement, there's no document object in this session
4 The session id when picture 2 is being retrieved
5 as 3
6 The id of the initial session

Now, the same scheme runs smoothly using the servlet 2.1 API
(using Jetty as my servlet runner)

SES: c1m4sp31
SES: c1m4sp31
SES: c1m4sp31
SES: c1m4sp31

Is this a known problem or did I made some obscure mistake?

Will anything (bad) happen if I use JSDK2.1 instead of JSDK2.0
with JServ, if I stick to calling JSDK2.0 methods?

Thanks in advance

Morten

--
Morten Primdahl         Caput ApS       Tel +45 33 12 24 42             
[EMAIL PROTECTED]        Nygade 6        Fax +45 33 91 24 42
http://www.caput.com    DK-1164 Kbh K


--
--------------------------------------------------------------
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]

Reply via email to