|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Server varaibles problem
I have two servers both running windows 2000 server and iis 5. Booth are intranet servers sitting on a win2k domain. Now on one of the servers if I make a call to
Code:
Request.ServerVariables("AUTH_USER")
I get back the username of the person connected. But on the other I get nothing. both are set to allow anonymous access and as far as I can see they are configured the same? What am i missing? What is the setting to activate the server variables? Also, If I make a call to (on the working server) Code:
Request.ServerVariables("REMOTE_HOST")
I get the IP address of the remote host. is there anyway to get the remote hosts netbois or dns name for the win2k domain? Thanks in advance |
|
#2
|
|||
|
|||
|
Are you able to get any server variables for the server that is in question?
|
|
#3
|
|||
|
|||
|
Yes sorry, I can get a responce from say:
Code:
Request.ServerVariables("REMOTE_HOST")
and it returns some data but nothing from: Code:
Request.ServerVariables("AUTH_USER")
|
|
#4
|
|||
|
|||
|
Have you verified that the both IIS servers are started using similar credentials?
|
|
#5
|
|||
|
|||
|
yup... both run under system account
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Server varaibles problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|