Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Internet Information Services
|
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 Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 18th, 2007, 05:25 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
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.
Reply With Quote
  #2 (permalink)  
Old January 19th, 2007, 02:41 PM
Registered User
 
Join Date: Jan 2007
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.
Reply With Quote
  #3 (permalink)  
Old January 19th, 2007, 02:46 PM
Registered User
 
Join Date: Jan 2007
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?
Reply With Quote
  #4 (permalink)  
Old January 22nd, 2007, 03:48 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
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.
Reply With Quote





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 07:08 AM
Identify dropped objects from SQL Server pvasudevan SQL Server 2000 0 June 14th, 2005 11:45 PM
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 08:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.