-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Henner:
can I confirm one thing again:
in a JSSI page, if I want to get session variable passed from previous page,
what I do is same as in a normal servlet, is it right?
now in JSSI page, JServSessionId has been appended to a normal static
hyperlink, and traditional SSI <!--includexxxxx---> has been successfully
done,  but in this JSSI page,  request.isRequestedSessionIdValid() is still
false, I still can't get session variable, for me, it really is not
convenient to use, could you help me to analyse what is  wrong? 
thank you very much, very very much.

sincerely
sun

> ----------
> From:         Henner Zeller[SMTP:[EMAIL PROTECTED]]
> Reply To:     Java Apache Users
> Sent:         Wednesday, September 22, 1999 7:00 AM
> To:   Java Apache Users
> Subject:      RE: JServSessionId
> 
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> 
> Hi,
> On Tue, 21 Sep 1999, Sun JunXu wrote:
> SJ| but I still got a problem, I can access the session in any servlet
> within
> SJ| the JSSI page. in servlet of this JSSI page, 
> SJ|  request.isRequestedSessionIdFromCookie(),        false
> SJ|  request.isRequestedSessionIdFromUrl() ,  true
> SJ|  request.isRequestedSessionIdValid(),             false
> SJ| because last one is false, so I can' t get session passed from
> previous
> SJ| page,
> 
> works fine here. Maybe you mispelled the name of the Session-identifier ?
> Compare the name an encodeUrl() call generates with that you propagate. In
> later versions of jserv (at least in the CVS), the session identifier
> contains the zone-name as well to differentiate between the contexts, so
> 'JServSessionId' may not be right.
> 
> ciao,
>  -hen
> ---
> Henner Zeller                                 [EMAIL PROTECTED]
>  PGP pub key [77F75B39]: finger [EMAIL PROTECTED] 
>  
>   Microsoft is not the answer, it's the question. The answer is 'NO'
> 
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 


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