--On Tuesday, August 12, 2003 3:07 PM -0400 Bob Showalter <[EMAIL PROTECTED]> wrote:
Ron Goral wrote:I am writing a script that relies on retrieving the $ENV{REMOTE_ADDR} from the user's browser. I'm depending on this for database information retrieval rather than cookies or some type of javascripting since one cannot depend on a user having either cookies or javascripting enabled in his browser. I've run across an issue with an AOL user and am curious if this is a universal problem with the AOL browser or just this person's particular browser configurations. My script is handing the user off to a VeriSign secure server. Sometime between when the user is handed off to the VeriSign server and he is returned to my unsecured server, his IP address changes. Has anyone encountered this? If so, what solution can you suggest.
You can't use REMOTE_ADDR for this purpose. His IP is being dynamically assigned from a pool that any number of users will share over time. If you don't want to use cookies (easiest approach, IMO), you can use a session ID in your URL's. Javascript is necessary in either case.
Huh? I've used cookies without javascript [1]. I see no reason to use javascript for session IDs, either. I know fastmail.fm uses session IDs in their URLs if you go through their web interface (which I sometimes use when away from home).
Or was that just a typo and you left out the "not"?
[1] based on code at http://www.stonehenge.com/merlyn/WebTechniques/col61.html
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]