Re: Getting HTTP_REFERER from Web Datablase?
Posted in 1998
Are you using NSAPI or CGI? What version of the webblade are you using? Try turning on webdriver tracing (it's in Appendix A of the user guide). You should see the variable in the list there, or maybe an error in the log. $HTTP_REFERER should work. I can't try it right now. Tony In article <7289qk$e0d$1@nnrp1.dejanews.com>, leehaw@silkroute.com wrote: > $HTTP_USER_AGENT works, but $HTTP_REFERER gives me an "Undefined variable: > $HTTP_REFERER". Even tried $HTTP_REFERRER (double 'R' in the middle). I'm not > using them in any expression, I'm just outputing them in a pair of <?MIVAR>. > > Am I missing something here? I've tried on both MSIE 4.01 and Netscape > Communicator 4.5... > > Thanks, tata. > > In article <7273s3$c9l$1@nnrp1.dejanews.com>, > asalerno@my-dejanews.com wrote: > > "$(=,$(POSITION,$HTTP_USER_AGENT,MSIE),0)" in a condition tag has worked for > > me to tell if I am using Netscape or IE in the past. I've also used > > HTTP_REFERRER in the past without any problems. > > > > Are you saying using these values didn't work for you? > > Or are you asking if you can use these variables? > > Did you try? Did you get an error? > > > > Tony > > > > In article <725otr$ai8$1@nnrp1.dejanews.com>, > > leehaw@silkroute.com wrote: > > > Hi guys, > > > > > > I'm using Web Datablade to generate dynamic content from IUS 9.14. Inside an > > > AppPage I created, I'm able to get CGI environment variables created on the > > > server (REMOTE_USER, SCRIPT_NAME, PATH_INFO, QUERY_STRING etc) but not on > the > > > client (HTTP_REFERER, HTTP_USER_AGENT). > > > > > > Let's say I want to detect HTTP_USER_AGENT to implement certain Netscape or > IE > > > specific content or script... > > > > > > Is there any way to do that? > > > > > > Thanks, tata. > > -- > > asalerno@monmouth.com > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > -- asalerno@monmouth.com -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own