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

Please look in the zone.properties  file (somewhere in the apache conf or
jserv conf directory)
if this is set:
session.useCookies=true

If yes and your browser accepts cookies (this is by default unless you have
denied it)
than your code has to work without URL rewriting.

Waiting for a reply,

Balogh Andras - [EMAIL PROTECTED]
GraFX http://www.grafx.ro
Tel/Fax: 065-250660









----- Original Message -----
From: Krister Bruhwel <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Wednesday, February 23, 2000 5:04 PM
Subject: Re: session tracking


> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Thanks for the help,
> I see what you are saying and I tried it.  My variable we still lost
> between sessions.  I'm starting to think that some server/configuration
> isn't set, but I don't know which.  In my web searches, I seem to be the
> only one having this problem.  My program is an example from Java
> Servlet Programing from OReilly.  So maybe its not the code but the set
> up?  I'm kinda new to Linux and configuration can be difficult because
> its hard to know where to poke.
>
> Once again thanks much,
> Krister
>
>
>
> Andras Balogh 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,
> >
> > I am not sure that i am corect but i allways use session like this:
> >
> > /*
> > looking for an allready created session
> > */
> > HttpSession session=req.getSession(false);
> > if(session==null) session=req.getSession(true); /*create the session*/
> >
> > I think that calling req.getSession(true) will create a new session.
> > Am i wrong ??
> >
> > Best wishes,
> >                 Andras.
>
>
> --
> --------------------------------------------------------------
> 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