473,480 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

scaling web services and dynamic URL's.....

okay before anyone says I shouldn't use session state in a web services
don't both.....

I have 2 web services that both use sesssion state and share the session
state between the web services, this is achieved by using out-of-process
session state using MS state server.

This all works perfectly fine when the 'URL behavior' is set to static, but
when the 'URL behavior' dynamic the session state is not being shared
between the web services as I expected it would be.

This leads me to believe that the session id is some how generated from the
dynamic URL that is read from the web.config, I guess what this means is
that 2 different web service's URL will get 2 completey different session
states in the MS state server. Is there anyway to make them share the same
session?

This then makes me wonder how are you meant to scale web services that use
session state or are you meant not?

Cheers

Ollie


Nov 16 '05 #1
2 1995
I think you've already answered your last question:
This then makes me wonder how are you meant to scale web services that use
session state or are you meant not?
In the first scentence: okay before anyone says I shouldn't use session state in a web services
don't both.....
:-)

Sorry, I couldn't resist...

--
Greetz
Jan
____________________
Read my weblog: http://weblogs.asp.net/jan
"Ollie" <ol**********@hotmail.com> schreef in bericht
news:eZ*************@TK2MSFTNGP09.phx.gbl... okay before anyone says I shouldn't use session state in a web services
don't both.....

I have 2 web services that both use sesssion state and share the session
state between the web services, this is achieved by using out-of-process
session state using MS state server.

This all works perfectly fine when the 'URL behavior' is set to static, but when the 'URL behavior' dynamic the session state is not being shared
between the web services as I expected it would be.

This leads me to believe that the session id is some how generated from the dynamic URL that is read from the web.config, I guess what this means is
that 2 different web service's URL will get 2 completey different session
states in the MS state server. Is there anyway to make them share the same
session?

This then makes me wonder how are you meant to scale web services that use
session state or are you meant not?

Cheers

Ollie

Nov 16 '05 #2
Cheers Jan :)

Changed it now to stateless cos I came to the same conclusion....
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I think you've already answered your last question:
This then makes me wonder how are you meant to scale web services that use session state or are you meant not?


In the first scentence:
okay before anyone says I shouldn't use session state in a web services
don't both.....


:-)

Sorry, I couldn't resist...

--
Greetz
Jan
____________________
Read my weblog: http://weblogs.asp.net/jan
"Ollie" <ol**********@hotmail.com> schreef in bericht
news:eZ*************@TK2MSFTNGP09.phx.gbl...
okay before anyone says I shouldn't use session state in a web services
don't both.....

I have 2 web services that both use sesssion state and share the session
state between the web services, this is achieved by using out-of-process
session state using MS state server.

This all works perfectly fine when the 'URL behavior' is set to static,

but
when the 'URL behavior' dynamic the session state is not being shared
between the web services as I expected it would be.

This leads me to believe that the session id is some how generated from

the
dynamic URL that is read from the web.config, I guess what this means is
that 2 different web service's URL will get 2 completey different session states in the MS state server. Is there anyway to make them share the same session?

This then makes me wonder how are you meant to scale web services that use session state or are you meant not?

Cheers

Ollie


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2633
by: Henk Verhoeven | last post by:
(Reply on this newsgroup to an email - reply by email did not work) Wolfman wrote: > > Hi, > I found your Email in the php Newsgroup. > I was looking for some way to resize some graphiks on my...
4
3155
by: Niel | last post by:
Hello friends, I think this issue has been posted before but i have not been able to get any solution that is why i am posting it again in detail as to what exactly is happneing in my case. Hope...
4
3647
by: Michel Joly de Lotbiniere | last post by:
I hope this is the correct newsgroup for this subject. The other day I came across a site www.safesquid.com that specified font-family:Terminal font-size:9pt in the inline css for command-line...
1
3150
by: rich | last post by:
I am trying to determine the best way to code a page with auto scaling left/right margins as well as an auto scaling footer. Here is a basic diagram of what I am hoping to achieve:...
0
1531
by: Stylus Studio | last post by:
Stylus Studio 6 XML Enterprise Edition Now Integrates with TigerLogic XDMS XQuery and Native XML Database Bedford, MA, -- Stylus Studio ( http://www.stylusstudio.com ), the industry-leading...
3
2490
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
1
1502
by: DKode | last post by:
Hello, I am starting to plan a portal site that will eventually (hopefully) increase exponetianlly in the amount of traffic to the site. I am planning to do this in a 3-tier/4-tier layout, I'm...
17
2618
by: IanIpp | last post by:
We have a 3 month old quad processor/dual core server running SQL Server 2005 and already it is getting close to hitting the CPU wall. An 8 way CPU box is prohibitively expensive and out of the...
4
1764
by: xDrDoSx | last post by:
does any one have good tutorials or articles on PHP and database scaling?
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7032
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.