IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

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 21st, 2005, 05:04 AM
VinojJM VinojJM is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 3 VinojJM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 59 m 4 sec
Reputation Power: 0
Question iis hostname & ip issues

Hi everyone
let me start by defining the setup
5 Servers (2 Win 2000, 2 Win XP, 1 Win 2003)
the code two simple asp pages
  1. main.asp - Contains a simple db connection
    if there is a valid record in the db
    it sets the session variables
    Code:
    Session("usr") = Trim(Rs("login_name"))

    and redirects to home.asp
    else
    prints out Invalid Login in main.asp
  2. home.asp - Contains the code for redirecting to main.asp if the session timesout else just print any valid message
    Code:
    If Session ("usr" ) = "" Then
    	Response.Redirect "main.asp"
    	Response.End 
    End If

Problem Statement -
if i use the ip address to connect to these servers
http://10.18.1.27/main.asp
there is no issues it diplays content in home.asp

but if i use host name like
http://qd_pal/main.asp
the session resets for only the (Win 2000 & Win 2003 Servers)
but for the XP machines it works fine the session is not reset

to make matters worse for browsers ie5.0 & 6.0 we face this issue
but if the bowser is netscape, mozilla and even ie5.5 (must be some security access?) it works fine

I dont know how many have faced an issue like this
Please help thanks in advance
reg
Vinoj

Reply With Quote
  #2  
Old July 21st, 2005, 09:36 PM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 m 54 sec
Reputation Power: 688
My guess is your IIS web structure is different on the different servers. How are you determining you session is reset? Perhaps there is something else that's causing your code to fail.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old July 21st, 2005, 11:39 PM
VinojJM VinojJM is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 3 VinojJM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 59 m 4 sec
Reputation Power: 0
The web structure is the same
and the session timeout is set in global.asa
Code:
Session.Timeout = 20

The same code copy is used over the different servers
In that condition it shouldnt run on the XP Machines
and also the Netscape and Mozilla bowsers show no issues
regards
Vinoj

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > iis hostname & ip issues


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 2 hosted by Hostway