Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Snitz on Windows 2003
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 31 March 2004 :  16:31:55  Show Profile
Not a bug as such but maybe something to look at for the next release.

I have the forum set up on Win2003 with the application pool set to use 2 processes. Session state is therefore managed seperately in each process.

The only bad effect I have found is that if the user is on the active topics page and marks all topics as read, the page refreshes after 5 minutes for example, and shows topics which they have already marked as read. This is due to the user accessing a different process.

As I say, not a bug, but it may be good to have an admin option in future releases to use cookies on the active topics page, instead of session variables.

The UK MkIVs Forum

Jeepaholic
Average Member

USA
697 Posts

Posted - 31 March 2004 :  22:00:20  Show Profile  Visit Jeepaholic's Homepage
Interesting...don't session variables use cookies too?

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 31 March 2004 :  23:25:13  Show Profile  Visit Gremlin's Homepage
Yes they do Jeepaholic, but in this instance its a server side problem as the sessionid only has affinity with one of those processes, so if the user gets a request from the other process the sessionid passed in the cookie is not recognised and therefore treats the request as the start of a new session.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 01 April 2004 :  00:09:51  Show Profile  Visit Jeepaholic's Homepage
<nod> I'm with ya.

Out of curiosity, how much benefit are you getting from using two processes instead of one?

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 April 2004 :  04:05:55  Show Profile
quote:
Originally posted by Jeepaholic

<nod> I'm with ya.

Out of curiosity, how much benefit are you getting from using two processes instead of one?



I've only just started using 2 processes out of curiousity myself, just playing with all the new features of IIS6.
One obvious advantage is that if 1 process fails, the other will take over whilst it recovers. You can set up IIS so that it pings the worker process at set invervals to check it's health. If it doesn't respond IIS will restart the process automatically.

The UK MkIVs Forum
Go to Top of Page

Pouyan
New Member

91 Posts

Posted - 29 April 2004 :  09:43:46  Show Profile
Hi David, can you walk me through setting two processes in IIS ? Also what values have you set for session ? Do you have buffering enabled or disabled ? What about HTTP keep-alives ? Also, what are web gardens and what should they be set to ? I sound very confused don't I ? :)

thanks for your help in advance
Go to Top of Page

MotoX
Junior Member

201 Posts

Posted - 16 September 2004 :  07:41:55  Show Profile
Has anyone figured out if it is possible to maintain application and in-process state while using more than one processes? I don't think it is even possible, but just checking.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 September 2004 :  07:59:16  Show Profile  Visit HuwR's Homepage
http://support.softartisans.com/kbview.aspx?ID=676

This article shows how to change the default IIS6 state management options
Go to Top of Page

MotoX
Junior Member

201 Posts

Posted - 16 September 2004 :  11:39:21  Show Profile
HuwR,

Thanks for the article. Great reading.

Do you know if anyone has attempted to manage Snitz state using ASP.NET? I imagine it would be quite a bit of coing to do so.

Also, the article mentions that Out-of-Process State management works with Web Farms, but did not make mention of its use with web gardens. Do you know if Web Gardens can take advantage of this?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 16 September 2004 :  11:46:23  Show Profile  Visit HuwR's Homepage
yes they should, that is kind of the whole point behind an out of process state management. I don't know if anyone has done it with Snitz, but it would not be that huge a task, Snitz does not use that many session variables.
Go to Top of Page

MotoX
Junior Member

201 Posts

Posted - 16 September 2004 :  11:54:04  Show Profile
Do you know if Snitz's session variables are all in one file or are they throughout the application? I am just wondering how I would hunt them all down so I can take a crack at this.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 16 September 2004 :  13:52:45  Show Profile  Visit D3mon's Homepage
is this multiple process stuff the basis behind a web-garden?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

MotoX
Junior Member

201 Posts

Posted - 16 September 2004 :  15:18:23  Show Profile
quote:
Originally posted by D3mon

is this multiple process stuff the basis behind a web-garden?


yes, in IIS 6.0 when you specify more than one worker process per application pool, it is considered a web garden.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 16 September 2004 :  15:51:40  Show Profile  Visit D3mon's Homepage
Cool thanks.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

MotoX
Junior Member

201 Posts

Posted - 22 September 2004 :  09:23:02  Show Profile
Has anyone tried anything on this? I am having trouble figuring out how to track down all of the session variables.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 22 September 2004 :  14:32:08  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
The way I understand it from the article above you would have to use a dotnet web application to create the sessions and make the required adjustments to the web config file (choosing between the three ways to track the sessions).

You would then have to access the session variable from classic asp.

Here is an article (with an example) using intermediary pages - http://www.eggheadcafe.com/articles/20021207.asp

EDIT:

An example from MSDN using SQL Server to track the sessions.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 22 September 2004 14:35:26
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07