ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 15th, 2003, 10:16 PM
phantom_turtle phantom_turtle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 81 phantom_turtle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 14 m 21 sec
Reputation Power: 6
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

Reply With Quote
  #2  
Old July 15th, 2003, 10:34 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Are you able to get any server variables for the server that is in question?

Reply With Quote
  #3  
Old July 15th, 2003, 11:11 PM
phantom_turtle phantom_turtle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 81 phantom_turtle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 14 m 21 sec
Reputation Power: 6
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")

Reply With Quote
  #4  
Old July 15th, 2003, 11:29 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Have you verified that the both IIS servers are started using similar credentials?

Reply With Quote
  #5  
Old July 16th, 2003, 01:18 AM
phantom_turtle phantom_turtle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 81 phantom_turtle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 14 m 21 sec
Reputation Power: 6
yup... both run under system account

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Server varaibles problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway