Author |
Topic |
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 31 March 2004 : 16:31:55
|
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 |
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 31 March 2004 : 23:25:13
|
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
|
|
|
Jeepaholic
Average Member
USA
697 Posts |
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 01 April 2004 : 04:05:55
|
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 |
|
|
Pouyan
New Member
91 Posts |
Posted - 29 April 2004 : 09:43:46
|
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 |
|
|
MotoX
Junior Member
201 Posts |
Posted - 16 September 2004 : 07:41:55
|
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. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
MotoX
Junior Member
201 Posts |
Posted - 16 September 2004 : 11:39:21
|
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? |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 16 September 2004 : 11:46:23
|
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. |
|
|
MotoX
Junior Member
201 Posts |
Posted - 16 September 2004 : 11:54:04
|
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. |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
MotoX
Junior Member
201 Posts |
Posted - 16 September 2004 : 15:18:23
|
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. |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
MotoX
Junior Member
201 Posts |
Posted - 22 September 2004 : 09:23:02
|
Has anyone tried anything on this? I am having trouble figuring out how to track down all of the session variables. |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
|
Topic |
|