Print Page | Close Window

Webgarden Problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14511
Printed Date: 30 March 2026 at 4:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Webgarden Problem
Posted By: NothWind
Subject: Webgarden Problem
Date Posted: 01 April 2005 at 2:27am
Hi!
 i am working on webwiz Forum , it was working well , before when our forum was hosted on windows 2000 server, but now i has been shifted to windows 2003 server with IIS Application webgarden Activated there to support the Multi Process Running on that server,

so now it created a problem with ASP Sessions as these Session During the login time not working well , as some time it accept and store the values in session scope variables and sometime it distroys the values stored in session scope variable due to which for all client Expriencing the Big Problem , same Problem is also with the registration page as well .Cry

please if any one knows about this problem Help required i am really dishearted



Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 April 2005 at 3:14am
If you are using a webfarm then you need to make sure that sessions are carried between the various servers.

I have tried to stay away from the use of session variables in Web Wiz Forums but for a number of parts where this is no other option such as for the security images, session variables are used.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: NothWind
Date Posted: 01 April 2005 at 4:31am
Sir here for the security Images this can be handel through Cookies , if we aviod using session then ?

similarly when user tries to get  login then same Problem with , as 'Insufficient Permission' , while the useName and Password are Correct
but Annoying Message, so What should be Solution for that ? Confused



Posted By: michael
Date Posted: 01 April 2005 at 9:52am
Windows 2003 has an option in Webfarms, that an existing session stays on the same machine. I don't off hand know how, but if you do a search on technet you should find it. It's a common probelm with some legacy languages that were not written for multi-node gardens.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: NothWind
Date Posted: 01 April 2005 at 10:22am
Originally posted by -boRg- -boRg- wrote:

If you are using a webfarm then you need to make sure that sessions are carried between the various servers.

I have tried to stay away from the use of session variables in Web Wiz Forums but for a number of parts where this is no other option such as for the security images, session variables are used.


Sir i am Just Concerned with Webgarden Not with Webfarm , so Please tell me what i should do for the Session which are being Used in Admin Section and in registration area for the security Code as well , as please if you can give me hits so that i can Modify it with ..
i am Really in Trouble i can't Exaplian , and i've already spent much time on this Issue But i think this is still panding...

this Forum works Fine With Windows 2000 server , but Conflich with Windows 2003 with IIS6 + Webgarden activated about for 4 Process mode


Posted By: WebWiz-Bruce
Date Posted: 01 April 2005 at 10:54am
A webfarm and webgarden are the same thing. Just different names for load balanced requests across mutiple servers.

You can not use cookies for the security images as it would mean that a bot could read the security images and so they wouldn't be of any use.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: NothWind
Date Posted: 01 April 2005 at 11:11am
so What you suggest that if session is making Conflict with that as i am really working for my boss and he is saying to me that i have already spent alot of time in fixing this error as every thing going well But the Main Problem is with the Session where it rises the Problem ..Confused


Posted By: WebWiz-Bruce
Date Posted: 01 April 2005 at 11:46am
This is not an error with web wiz forums as you suggest.

This is a problem with your servers, they are not setup to handle sessions.

You need to go and have a look on MSDN on how to setup your servers to get around the problem of them not being able to handle sessions.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: NothWind
Date Posted: 01 April 2005 at 11:52am
Originally posted by -boRg- -boRg- wrote:

This is not an error with web wiz forums as you suggest.

This is a problem with your servers, they are not setup to handle sessions.

You need to go and have a look on MSDN on how to setup your servers to get around the problem of them not being able to handle sessions.


well if disable the webgarden it works fine i do know there is no Problem with Wewb Wiz forum it gives Problem only with webgarden , i just want to Know is there any code which add to here so to Over come this Problem arising here... Your Help will be Appeciated Thanks


Posted By: bullish1
Date Posted: 01 April 2005 at 11:54am
Actually what NothWind is describing is multiple ASP worker threads on a single server also known as a Web Garden. This is used by W2K3 to improve performance using multiple processors. These ASP threads DO NOT share sessions. Since WWF uses session variables it will NOT work correctly with more than 1 worker thread. The number of worker threads can  be configured by Application so that the WWF subdirectory only has one worker thread.
 
Jeffrey Hines
http://www.HairBoutique.com - www.HairBoutique.com


Posted By: NothWind
Date Posted: 01 April 2005 at 9:26pm
Oh Thanks Jeffrey you can understand my Problem i don't Know why they are not getting what i am asking about.
 
well does any person knowthe solution for Multi ASP Threats sessions..? in win2k3 Embarrassed i am really waiting for Help
 


Posted By: bullish1
Date Posted: 02 April 2005 at 3:37pm
Yes... I do understand your problem.
 
However, the only easy solution is to NOT use multiple worker threads.
 
Unless you have 1000's of simultaneous users I can't imagnine why you would need more than 1 worker thread.
 
You can configure the Application Pool for the WWF subdirectory to only use 1 worker thread.
 
Each subdirectory on a IIS 6.0/W2K3 web server can be defined as an "Application" and can have it's own Application Pool settings.
 
To modify WWF to not use session variables would be a major undertaking and I sure is not a major development priority.
 
Jeffrey Hines
www.HairBoutique.com
 


Posted By: NothWind
Date Posted: 04 April 2005 at 2:40am
thanks jeffery!
well we have two website running one is http://www.safecom.cn - www.safecom.cn and onther is http://www.adsltech.com - www.adsltech.com on the same server similarly our online chat software as well there so the Prolem rising. as there are Multi thread applications..
 
so in this case what should to do ? to get Persist the sessions



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net