As of FoxWeb 4.0, the ServerVariables method will return the following variables (if available), as well as all variables whose names start with "HTTP_":
- APPL_MD_PATH
- APPL_PHYSICAL_PATH
- AUTH_PASSWORD
- AUTH_TYPE
- AUTH_USER
- CERT_COOKIE
- CERT_FLAGS
- CERT_ISSUER
- CERT_KEYSIZE
- CERT_SECRETKEYSIZE
- CERT_SERIALNUMBER
- CERT_SERVER_ISSUER
- CERT_SERVER_SUBJECT
- CERT_SUBJECT
- CONTENT_LENGTH
- CONTENT_TYPE
- GATEWAY_INTERFACE
- HTTPS
- HTTPS_KEYSIZE
- HTTPS_SECRETKEYSIZE
- HTTPS_SERVER_ISSUER
- HTTPS_SERVER_SUBJECTINSTANCE_ID
- INSTANCE_META_PATH
- LOGON_USER
- PATH_INFO
- PATH_TRANSLATED
- QUERY_STRING
- REMOTE_ADDR
- REMOTE_HOST
- REMOTE_USER
- REQUEST_METHOD
- SCRIPT_NAME
- SERVER_NAME
- SERVER_PORT
- SERVER_PORT_SECURE
- SERVER_PROTOCOL
- SERVER_SOFTWARE
- URL
FoxWeb Support Team
support@foxweb.com email |
Sent by David Hempy on 10/24/2007 06:23:08 PM:
Is the REMOTE_PORT environment available to us?
Request.ServerVariables("REMOTE_PORT") doesn't return anything. (I am not on the current version yet...)
Thanks in advance,
-dave
ps. FWIW, I'm looking for independent variables for a better randomizing seed. I was using rand(-1) (which uses the system clock) for the first hit to a channel and rand() for subsequent hits, but my users have reported seeing trends.
I'm thinking of using REMOTE_ADDR, REMOTE_PORT, and SECONDS() with every hit, or perhaps occasionally.
--
David Hempy
Internet Database Administrator
Kentucky Educational Television
(859)258-7164 - (800)333-9764