----------------------------------------------------------------
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!!!
----------------------------------------------------------------
I think you may be barking up the wrong tree here Rian.
The problem is that user A and user B are talking through proxy C to JServ
D. From D's perspective, the only IP it is talking to is C. It never sees
or hears from A and B. So if it tries to store the IP in a cookie, it will
send back to users A and B the IP of C. Then when you get the next request
... it looks like they are both the same person.
I don't think servers should base user information on IP tracking. It's not
reliable, and users move around, etc. Try disabling it to see what happens.
If that doesn't work you could try putting expire tags in your HTML that
specify no caching (ie. always expired). That'll stop any caching involved,
but it kinda sux.
If it is your own proxy you may be able to configure it. But are you sure
your users won't be coming through someone elses proxy?
Tim.
> -----Original Message-----
> From: Rian Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 24, 2000 12:49 PM
> To: Java Apache Users
> Subject: Re: Urgent -- Apache/Jserv problem
>
>
> ----------------------------------------------------------------
> 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 think you're getting confused about what happens where.
> Cookies don't
> live on the server, they live in the client. It's highly
> unlikely that
> JServ is confusing your users because of the contents of
> their cookies,
> unless you've really garfed the cookie code. More likely,
> you're depending
> on the cookie within the code, but passing an identical URL
> through the
> cache?
>
> If so, it's possible that the proxy is caching the results of
> a given URL
> for one user and simple spitting it out for the other without
> checking it.
> I suspect something like this:
> User A makes request to URL #1 --> proxy caches and shows A1
> User A makes request to URL #2 --> proxy caches and shows A2
> User B makes request to URL #1 --> proxy caches and shows B1
> User A hits back button --> proxy responds with more recent
> URL #1 cache, B1
>
> I'm making some assumptions there. Hard to tell exactly with
> the little
> info we've got now, but you might try disabling proxy caching, or just
> setting the headers (i.e., expires, cache-control, etc.) to
> force the proxy
> to serve up fresh copies every time. Another thing you might try is
> appending some random number onto the URL everytime, so that the proxy
> thinks it's a distinctly different request, and therefore not
> cacheable.
>
> Rian
>
> ----- Original Message -----
> From: Travis Low <[EMAIL PROTECTED]>
> To: Java Apache Users <[EMAIL PROTECTED]>
> Sent: Saturday, September 23, 2000 7:21 PM
> Subject: Re: Urgent -- Apache/Jserv problem
>
>
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> > If the user disables cookies, JServ embeds the session
> information in the
> URL.
> > I doubt you'll be able to convince your users to disable
> cookies, but you
> can
> > set the following in your zone.properties:
> >
> > session.useCookies=false
> >
> > which should clear up the problem (assuming it's caused by cookies).
> >
> > -- Travis Low
> > <mailto:[EMAIL PROTECTED]>
> > <http://dawnstar.org/travis>
> >
> > Janga Aliminati wrote:
> > >
> > > Running an application through Apache
> (1.3.9)/Jserv(1.1.2). We are
> > > having following serious problem.
> > >
> > > When User A login to application, Some times when he hit
> back button, He
> > > is seeing User B's page on his screen.
> > >
> > > This is happening user when connected via proxy. If
> user has direct
> > > internet connection, It looks OK.
> > >
> > > I think Jserv creating cookies on server with IP address. When
> > > connection comes throug Proxy server its geeting all the
> IP address
> > > messed out and one user getting another user page....
> > >
> > > We have user to connect all over the country.
> > >
> > > Please some body suggest some thing to solve this problem.
> > >
> > > --
> > > --------------------------------------------------------------
> > > 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]
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]
--
--------------------------------------------------------------
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]