[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] [env REMOTE_ADDR] & [data session ohost] = different values


Grant writes: 

> I sometimes get different values for [env REMOTE_ADDR] and [data
> session ohost].  Does anyone know what type of a situation would cause
> that to happen?

My (semi education) guess would be that in this case the person comes 
through a proxy which cases an alternative $CGI::remote_addr  value, see: 

lib/Vend/Server.pm   has a line in (sub populate):
$CGI::remote_addr = $ip; 

Here a different IP might be put in $CGI::remote_addr   which then ends up 
in [data session ohost]  via lib/Vend/Session.pm  .... 

The [env] tag will still work with the environment variable. 

 

 


> - Grant 
> 
> _______________________________________________
> interchange-users mailing list
> suppressed
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
 


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.