request.headerForKey("pc-remote-addr");
request.headerForKey("pc-remote-addr");
- Subject: request.headerForKey("pc-remote-addr");
- From: Bill Reynolds <email@hidden>
- Date: Sat, 03 Apr 2004 17:12:37 -0800
A recent OS upgrade to my OSX Server 'seems' to have broken some code.
I was using "ip_address = request.headerForKey("http_pc_remote_addr");" as
part of a security process when first creating a session.
I suddenly stopped acquiring the users ip address after an upgrade. It
turned out that the key went from "http_pc_remote_addr" to now being
"pc-remote-addr". Changing my code wasn't difficult, but I'm concerned what
other changes to the application server software, web server (or whatever
got updated in the Auto-Update process) might secretly be breaking my code.
My question is really this; are header 'keys' consistent? Can I safely bank
on "pc-remote-addr" being there till death do me part?
-Bill Reynolds
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.