Interesting problem. Sorry I don't have the solution for you.
Maybe I can make a suggestion though. That is, if you 'know'
the address coming back is from a proxy, invalidate the session!
Of course if you need the IP proper, my suggestion blows. But I wonder
'why' you get the same address back. Is that your broadcast IP?
- Raimee
[EMAIL PROTECTED] wrote:
>
> Hi all,
>
> We're having a somewhat strange problem.
>
> We are using a client to upload files to a servlet. The client is
> assigned a session id by the servlet, which then uses the session ids
> to make sure that clients aren't competing over the same files. When
> the client is done with the files, it lets the server know and the
> servlet expires the session id.
>
> All of this works nicely. Well, most of the time. Strangely, when
> the client is coming in through a proxy server, the servlet doesn't
> seem to recognize the session id. The id looks to be the same as the
> one that we are passing the client; certainly, the client is doing
> nothing different.
>
> Any idea? isRequestedSessionIdValid returns false for what looks to
> be a valid id that the servlet has not expired.
>
> System info:
>
> SunOS 5.6
> Apache/1.3.6
> JServ 1.0b4
>
> Thanks,
> Dave
>
> Dave Orr [EMAIL PROTECTED]
> CyberSource Corporation http://cybersource.com/
> 408.260.6008
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]