Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Set Variable to Environmental Variable

Quote Reply
Set Variable to Environmental Variable
Hi:

For tracking purposes, there are a couple pages I need to note an evironmental variable. I am trying this code:

<%ifnot env_h%>
<%set env_h = $ENV{"REMOTE_ADDR"}%>
<%endif%>

but it is not setting env_h.

Any ideas how to set this on the page?

Thanks!
dave

Big Cartoon DataBase
Big Comic Book DataBase
Subject Author Views Date
Thread Set Variable to Environmental Variable carfac 2014 Apr 13, 2005, 8:22 AM
Thread Re: [carfac] Set Variable to Environmental Variable
Petrocelli 1909 Apr 13, 2005, 2:33 PM
Thread Re: [Petrocelli] Set Variable to Environmental Variable
carfac 1901 Apr 13, 2005, 2:59 PM
Post Re: [carfac] Set Variable to Environmental Variable
Petrocelli 1903 Apr 13, 2005, 11:53 PM