[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-14 Thread Stephen Caudill
I'd sooner dunk my head in Elephant Poo than use a site that pops up javascript alerts telling me how bad my browser is (especially when it prefers M$ dross over a standards compliant browser) and then proceeds to 404... and then it's 404 error has its own error: "Error: 58 -- File already exist

[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-14 Thread David Blakey
<% Dim VariableName For Each VariableName In Request.ServerVariables response.Write("") response.Write("" & VariableName & " = ") response.write(Request.ServerVariables(VariableName) & "") response.Write("") Next %> Or just go to Marzie's ToolBox: www.marzie.com/ref

[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-14 Thread Stephen Caudill
Hey MOU, Good to see you back around. I'm late to this thread, but I thought this might help. I wrote a little script that I keep resident on my server: <% Dim VariableName For Each VariableName In Request.ServerVariables response.Write("") response.Write("" & VariableName &

[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-12 Thread Jon Haworth
Hi Darren, > have a look at > >Request.ServerVariables("LOCAL_ADDR") > or >Request.ServerVariables("REMOTE_ADDR") > > i can never remember which one is the users ip :> It's REMOTE_ADDR - it's also a good idea to check HTTP_X_FORWARDED_FOR, as that'll be their address if they're coming

[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-12 Thread Ross Clutterbuck
Darren: Cheers dude, will do... I thought it'd be in the server variables somewhere, but I've not had much of a play (or needed them before) so I was scratching me head MOU • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]

[wdvltalk] Re: Retrieving client's IP address in ASP

2003-07-11 Thread darren
On Friday, July 11, 2003 at 10:08, Ross Clutterbuck wrote: RC> The one thing I can't find is retrieving a user's IP RC> address using ASP (IIS 5.0). Any pointers? I was RC> thinking about populating a hidden field with the IP RC> using Javascript but this is dependant on JS being RC> active and I'