p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Servers > Internet Information Services
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Internet Information Services section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 18th, 2007, 05:25 PM
Friend of Wrox
Points: 5,269, Level: 30
Points: 5,269, Level: 30 Points: 5,269, Level: 30 Points: 5,269, Level: 30
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
Default IIS5 Win2K Sessions being dropped (apparently)

I have a VB6 WebClass application.  When users 1st come to the site (therefore having no Session) they are shown the Login page irrespective of the rest of the URL.

In the submission of that form, I try to contact Oracle with the provided credentials.  If Oracle responds, I put the credentials into the Session.

From then on, they have a Session associated with their use of the app, a Session with valid credentials.

But every so often, instead of receiving the requested page, they get the login screen again.

The box hosting the internet server is a Dell PowerEdge 1750 w/Dual 2.8 GHz CPUs & 2 Gb RAM.  I am suspecting that what happens is that the Session (technical term) associated with the users session (general description of what they’re doing) is also associated with only one of the processors, and that when that processor is not available, their request is serviced by a processor that has never heard of them.  (Or perhaps you could substitute “thread” for “processor” in that description...)

So the question I have is whether there is a well known mechanism whereby the user can get orphaned from their existing Session, given the hardware/software I described above?

Thoughts?
Resources?

Edit \/ \/

Additional piece of the puzzle.

Mark, at a building ½ Mi. away opened the web app, and I opened the web app.  (This app does not persist Oracle connections.  Each need for data initiates openeing a new connection, gettng the data, then closing the connection.)

He went back and forth between two pages repeatedly for about a ½ an hour.  He finally was sent back to the login screen.  At that point I requested a page from my instance, and I was given the login page instead.

So apparently, when one person loses their Session (and therefore their held credentials), everyone loses their Session at the same time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old January 19th, 2007, 02:41 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check out the section:

P2P Forum > ASP and ASP.NET > ASP.NET 1.0 and 1.1 Beginners > Session variables being lost!

Which discusses this in depth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old January 19th, 2007, 02:46 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually this one is more up your alley I think:

P2P Forum > .NET > VS.NET 2002/2003 > Session Variables Randomly Disappear?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old January 22nd, 2007, 03:48 PM
Friend of Wrox
Points: 5,269, Level: 30
Points: 5,269, Level: 30 Points: 5,269, Level: 30 Points: 5,269, Level: 30
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
Default

Wow! That was a rally interesting thread (all 7 pages of it). Apparently Session problems abound.

Unfortunately, it appears that everyone in that thread has just one Session fail. In my case all Sessions fail at the same time. Very perplexing (and vexing).

So the issue I’m facing remains unresolved.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box dropped down don't work proper Sneha Patel Book: Wrox's Visual C# 2005 Express Edition Starter Kit 1 May 28th, 2007 08:08 AM
Identify dropped objects from SQL Server pvasudevan SQL Server 2000 0 June 15th, 2005 12:45 AM
PHP IIS5 listener stew998 Pro PHP 0 February 9th, 2005 11:36 AM
IE6 or IIS5 settings MGerlachJr Dreamweaver (all versions) 11 December 5th, 2004 12:48 PM
Displaying sessions logged into Win2K Server sachin1979 BOOK: Beginning ASP 3.0 0 September 5th, 2004 09:04 PM



All times are GMT -4. The time now is 01:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc