Saturday, March 31, 2012
Web server Cluster and SESSION.
Will clustering of webservers affect SESSION states?
Is there a dotnet term for the above mentioned scenario?
Pls advise.
Thanks.
Posted Via mcse.ms Premium Usenet Newsgroup Services
----
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----
http://www.mcse.msYou can store your session in a SQL Server such that your web servers all
access the same store, however you have to note that everything you store in
the Session needs to be serialisable for that to work.
"Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
> Hi everyone,
> Will clustering of webservers affect SESSION states?
> Is there a dotnet term for the above mentioned scenario?
> Pls advise.
> Thanks.
>
> Posted Via mcse.ms Premium Usenet Newsgroup Services
> ----
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----
> http://www.mcse.ms
in this case store the session in SQL
"Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
> Hi everyone,
> Will clustering of webservers affect SESSION states?
> Is there a dotnet term for the above mentioned scenario?
> Pls advise.
> Thanks.
>
> Posted Via mcse.ms Premium Usenet Newsgroup Services
> ----
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----
> http://www.mcse.ms
Thanks!
But, is this step a must? Since this article was dated 12 Jun 06
http://support.microsoft.com/kb/317604
Currently on .net 1.1
"Aidy" <aidy@.noemail.xxxa.com> wrote in message
news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt
.com...
> You can store your session in a SQL Server such that your web servers all
> access the same store, however you have to note that everything you store
> in the Session needs to be serialisable for that to work.
> "Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
> news:1174907530_3665@.sp6iad.superfeed.net...
>
Posted Via mcse.ms Premium Usenet Newsgroup Services
----
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----
http://www.mcse.ms
State Server can also do the job for clustered servers.
ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.
Because the session state is managed centrally,
any cluster host can recover session state information.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Aidy" <aidy@.noemail.xxxa.com> wrote in message news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt
.co
m...
> You can store your session in a SQL Server such that your web servers all
access the same store,
> however you have to note that everything you store in the Session needs to
be serialisable for
> that to work.
> "Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
> news:1174907530_3665@.sp6iad.superfeed.net...
Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.
...and, please fix your clock.
You're posting 15 hours into the future. :-)
Thanks.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
news:1174911829_3689@.sp6iad.superfeed.net...
> Thanks!
> But, is this step a must? Since this article was dated 12 Jun 06
> http://support.microsoft.com/kb/317604
> Currently on .net 1.1
>
> "Aidy" <aidy@.noemail.xxxa.com> wrote in message news:uNudnTD9nLqeMJrbnZ2dn
UVZ8sWhnZ2d@.bt.com...
>
> Posted Via mcse.ms Premium Usenet Newsgroup Services
> ----
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ---- [url]http://www.mcse.ms[
/url]
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
> State Server can also do the job for clustered servers.
> ASP.NET applications support maintaining session state on a
> centralized session state server *or* on a server running SQL Server.
> Because the session state is managed centrally,
> any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the other...?
There's a fair bit of information on the net about each individually, but
there doesn't seem to be much on which is the more suitable according to
infrastructure etc...
Thanks Juan!
What about implementation of cookies? I doubt cookies has the hassle of
sessions in a web cluster.
Since we are doing it for a company and the company is very strict about its
intellecutal properties; i doubt they are going to let us lay a finger on
their servers.
Im not 15 hours ahead. This is my local time. Its 9pm @. where I'm located
right now. GMT+8
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23sDW5I6bHHA.4808@.TK2MSFTNGP04.phx.gbl...
> Eric, please see my just-sent reply.
> You can also use ASP.NET's State Server to maintain state in a cluster.
> ...and, please fix your clock.
> You're posting 15 hours into the future. :-)
> Thanks.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
> news:1174911829_3689@.sp6iad.superfeed.net...
>
>
Posted Via mcse.ms Premium Usenet Newsgroup Services
----
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----
http://www.mcse.ms
re:
> Do you have any thoughts as to when to use one and when to use the other...?[/colo
r]
Couldn't you ask an easier question ?
That's a tough nut to crack.
:-)
All in all, I think it would depend on the size of the cluster.
Small and medium-sized clusters could probably make do with State Server.
For very large, and I mean *very* large, applications in large clusters,
redundant SQL Servers are called for.
That would mean : "a cluster of SQL Servers keeping state for a cluster of w
eb servers".
The scalability of *that* configuration runs into many millions of hits dail
y.
Caveat : when using SQL Server mode, objects stored in session state
are serialised and deserialised when a request is processed.
You cannot store objects which do not support serialisation in session state
,
if you use SQL Server, so that's something to keep in mind when programming.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Mark Rae" <mark@.markNOSPAMrae.com> wrote in message news:%23VABvO6bHHA.4836@.TK2MSFTNGP03.p
hx.gbl...
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
>
> Do you have any thoughts as to when to use one and when to use the other..
.?
> There's a fair bit of information on the net about each individually, but
there doesn't seem to be
> much on which is the more suitable according to infrastructure etc...
>
re:
> What about implementation of cookies? I doubt cookies has the hassle of sessions i
n a web cluster.
You can use both cookies and cookieless sessions.
re:
> Im not 15 hours ahead. This is my local time. GMT+8
This message is stamped a bit after midnight tonight.
:-)
Check your Windows timezone setting.
OE says you posted your message on Mon, 26 Mar 2007 21:10:26 -0700
That's GMT -7, not GMT +8 ( which adds up to the 15 hour difference we're se
eing).
What's your physical location ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.com> wrote in message
news:1174914330_3705@.sp6iad.superfeed.net...
> Thanks Juan!
> What about implementation of cookies? I doubt cookies has the hassle of se
ssions in a web cluster.
> Since we are doing it for a company and the company is very strict about i
ts intellecutal
> properties; i doubt they are going to let us lay a finger on their servers
.
> Im not 15 hours ahead. This is my local time. Its 9pm @. where I'm located
right now. GMT+8
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:%23sDW5I6bHHA.4808@.TK2MSFTNGP04.phx.gbl...
>
> Posted Via mcse.ms Premium Usenet Newsgroup Services
> ----
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ---- [url]http://www.mcse.ms[
/url]
Web server Cluster and SESSION.
Will clustering of webservers affect SESSION states?
Is there a dotnet term for the above mentioned scenario?
Pls advise.
Thanks.
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.comYou can store your session in a SQL Server such that your web servers all
access the same store, however you have to note that everything you store in
the Session needs to be serialisable for that to work.
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
Quote:
Originally Posted by
Hi everyone,
>
Will clustering of webservers affect SESSION states?
>
Is there a dotnet term for the above mentioned scenario?
>
Pls advise.
>
Thanks.
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.com
in this case store the session in SQL
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
Quote:
Originally Posted by
Hi everyone,
>
Will clustering of webservers affect SESSION states?
>
Is there a dotnet term for the above mentioned scenario?
>
Pls advise.
>
Thanks.
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.com
Thanks!
But, is this step a must? Since this article was dated 12 Jun 06
http://support.microsoft.com/kb/317604
Currently on .net 1.1
"Aidy" <aidy@.noemail.xxxa.comwrote in message
news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt.com...
Quote:
Originally Posted by
You can store your session in a SQL Server such that your web servers all
access the same store, however you have to note that everything you store
in the Session needs to be serialisable for that to work.
>
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
Quote:
Originally Posted by
>Hi everyone,
>>
>Will clustering of webservers affect SESSION states?
>>
>Is there a dotnet term for the above mentioned scenario?
>>
>Pls advise.
>>
>Thanks.
>>
>>
>Posted Via Usenet.com Premium Usenet Newsgroup Services
>------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>------------------
>http://www.usenet.com
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.com
Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.
...and, please fix your clock.
You're posting 15 hours into the future. :-)
Thanks.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174911829_3689@.sp6iad.superfeed.net...
Quote:
Originally Posted by
Thanks!
>
But, is this step a must? Since this article was dated 12 Jun 06
>
http://support.microsoft.com/kb/317604
>
Currently on .net 1.1
>
>
>
"Aidy" <aidy@.noemail.xxxa.comwrote in message news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt.com...
Quote:
Originally Posted by
>You can store your session in a SQL Server such that your web servers all access the same store,
>however you have to note that everything you store in the Session needs to be serialisable for
>that to work.
>>
>"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
>news:1174907530_3665@.sp6iad.superfeed.net...
Quote:
Originally Posted by
>>Hi everyone,
>>>
>>Will clustering of webservers affect SESSION states?
>>>
>>Is there a dotnet term for the above mentioned scenario?
>>>
>>Pls advise.
>>>
>>Thanks.
>>>
>>>
>>Posted Via Usenet.com Premium Usenet Newsgroup Services
>>------------------
>> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>>------------------ http://www.usenet.com
>>
>>
>
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------ http://www.usenet.com
State Server can also do the job for clustered servers.
ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.
Because the session state is managed centrally,
any cluster host can recover session state information.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Aidy" <aidy@.noemail.xxxa.comwrote in message news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt.com...
Quote:
Originally Posted by
You can store your session in a SQL Server such that your web servers all access the same store,
however you have to note that everything you store in the Session needs to be serialisable for
that to work.
Quote:
Originally Posted by
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174907530_3665@.sp6iad.superfeed.net...
Quote:
Originally Posted by
>Hi everyone,
>>
>Will clustering of webservers affect SESSION states?
>>
>Is there a dotnet term for the above mentioned scenario?
>>
>Pls advise.
>>
>Thanks.
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
Quote:
Originally Posted by
State Server can also do the job for clustered servers.
>
ASP.NET applications support maintaining session state on a
centralized session state server *or* on a server running SQL Server.
>
Because the session state is managed centrally,
any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the other...?
There's a fair bit of information on the net about each individually, but
there doesn't seem to be much on which is the more suitable according to
infrastructure etc...
Thanks Juan!
What about implementation of cookies? I doubt cookies has the hassle of
sessions in a web cluster.
Since we are doing it for a company and the company is very strict about its
intellecutal properties; i doubt they are going to let us lay a finger on
their servers.
Im not 15 hours ahead. This is my local time. Its 9pm @. where I'm located
right now. GMT+8
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:%23sDW5I6bHHA.4808@.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
Eric, please see my just-sent reply.
You can also use ASP.NET's State Server to maintain state in a cluster.
>
...and, please fix your clock.
You're posting 15 hours into the future. :-)
>
Thanks.
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174911829_3689@.sp6iad.superfeed.net...
Quote:
Originally Posted by
>Thanks!
>>
>But, is this step a must? Since this article was dated 12 Jun 06
>>
>http://support.microsoft.com/kb/317604
>>
>Currently on .net 1.1
>>
>>
>>
>"Aidy" <aidy@.noemail.xxxa.comwrote in message
>news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt.com...
Quote:
Originally Posted by
>>You can store your session in a SQL Server such that your web servers
>>all access the same store, however you have to note that everything you
>>store in the Session needs to be serialisable for that to work.
>>>
>>"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
>>news:1174907530_3665@.sp6iad.superfeed.net...
>>>Hi everyone,
>>
>>>Will clustering of webservers affect SESSION states?
>>
>>>Is there a dotnet term for the above mentioned scenario?
>>
>>>Pls advise.
>>
>>>Thanks.
>>
>>
>>>Posted Via Usenet.com Premium Usenet Newsgroup Services
>>>------------------
>>> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>>>------------------
>>>http://www.usenet.com
>>>
>>>
>>
>>
>>
>Posted Via Usenet.com Premium Usenet Newsgroup Services
>------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>------------------
>http://www.usenet.com
>
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.com
re:
Quote:
Originally Posted by
Do you have any thoughts as to when to use one and when to use the other...?
Couldn't you ask an easier question ?
That's a tough nut to crack.
:-)
All in all, I think it would depend on the size of the cluster.
Small and medium-sized clusters could probably make do with State Server.
For very large, and I mean *very* large, applications in large clusters,
redundant SQL Servers are called for.
That would mean : "a cluster of SQL Servers keeping state for a cluster of web servers".
The scalability of *that* configuration runs into many millions of hits daily.
Caveat : when using SQL Server mode, objects stored in session state
are serialised and deserialised when a request is processed.
You cannot store objects which do not support serialisation in session state,
if you use SQL Server, so that's something to keep in mind when programming.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Mark Rae" <mark@.markNOSPAMrae.comwrote in message news:%23VABvO6bHHA.4836@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
>
Quote:
Originally Posted by
>State Server can also do the job for clustered servers.
>>
>ASP.NET applications support maintaining session state on a
>centralized session state server *or* on a server running SQL Server.
>>
>Because the session state is managed centrally,
>any cluster host can recover session state information.
>
Do you have any thoughts as to when to use one and when to use the other...?
>
There's a fair bit of information on the net about each individually, but there doesn't seem to be
much on which is the more suitable according to infrastructure etc...
>
re:
Quote:
Originally Posted by
What about implementation of cookies? I doubt cookies has the hassle of sessions in a web cluster.
You can use both cookies and cookieless sessions.
re:
Quote:
Originally Posted by
Im not 15 hours ahead. This is my local time. GMT+8
This message is stamped a bit after midnight tonight.
:-)
Check your Windows timezone setting.
OE says you posted your message on Mon, 26 Mar 2007 21:10:26 -0700
That's GMT -7, not GMT +8 ( which adds up to the 15 hour difference we're seeing).
What's your physical location ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
news:1174914330_3705@.sp6iad.superfeed.net...
Quote:
Originally Posted by
Thanks Juan!
>
What about implementation of cookies? I doubt cookies has the hassle of sessions in a web cluster.
>
Since we are doing it for a company and the company is very strict about its intellecutal
properties; i doubt they are going to let us lay a finger on their servers.
>
Im not 15 hours ahead. This is my local time. Its 9pm @. where I'm located right now. GMT+8
>
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:%23sDW5I6bHHA.4808@.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
>Eric, please see my just-sent reply.
>You can also use ASP.NET's State Server to maintain state in a cluster.
>>
>...and, please fix your clock.
>You're posting 15 hours into the future. :-)
>>
>Thanks.
>>
>>
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq : http://asp.net.do/faq/
>foros de asp.net, en espaol : http://asp.net.do/foros/
>===================================
>"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
>news:1174911829_3689@.sp6iad.superfeed.net...
Quote:
Originally Posted by
>>Thanks!
>>>
>>But, is this step a must? Since this article was dated 12 Jun 06
>>>
>>http://support.microsoft.com/kb/317604
>>>
>>Currently on .net 1.1
>>>
>>>
>>>
>>"Aidy" <aidy@.noemail.xxxa.comwrote in message news:uNudnTD9nLqeMJrbnZ2dnUVZ8sWhnZ2d@.bt.com...
>>>You can store your session in a SQL Server such that your web servers all access the same
>>>store, however you have to note that everything you store in the Session needs to be
>>>serialisable for that to work.
>>
>>>"Eric Layman" <namyalcire[at no spam]gmail.comwrote in message
>>>news:1174907530_3665@.sp6iad.superfeed.net...
>>Hi everyone,
>>
>>Will clustering of webservers affect SESSION states?
>>
>>Is there a dotnet term for the above mentioned scenario?
>>
>>Pls advise.
>>
>>Thanks.
>>
>>
>>Posted Via Usenet.com Premium Usenet Newsgroup Services
>>------------------
>> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>>------------------ http://www.usenet.com
>>
>>
>>>
>>>
>>>
>>Posted Via Usenet.com Premium Usenet Newsgroup Services
>>------------------
>> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
>>------------------ http://www.usenet.com
>>
>>
>>
>
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------ http://www.usenet.com
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:OzTLGs6bHHA.1300@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
re:
Quote:
Originally Posted by
>Do you have any thoughts as to when to use one and when to use the
>other...?
>
Couldn't you ask an easier question ?
:-)
Quote:
Originally Posted by
Caveat : when using SQL Server mode, objects stored in session state
are serialised and deserialised when a request is processed.
>
You cannot store objects which do not support serialisation in session
state,
if you use SQL Server, so that's something to keep in mind when
programming.
Ah... that sounds like a bit of a "gotcha" - thanks for that...
Thus wrote Mark,
Quote:
Originally Posted by
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
>
Quote:
Originally Posted by
>State Server can also do the job for clustered servers.
>>
>ASP.NET applications support maintaining session state on a
>centralized session state server *or* on a server running SQL Server.
>>
>Because the session state is managed centrally,
>any cluster host can recover session state information.
Do you have any thoughts as to when to use one and when to use the
other...?
>
There's a fair bit of information on the net about each individually,
but there doesn't seem to be much on which is the more suitable
according to infrastructure etc...
StateServer cannot be clustered, so it introduces a single point of failure,
making any cluster in front of it rather moot ;-)
Cheers,
--
Joerg Jooss
news-reply@.joergjooss.de
re:
Quote:
Originally Posted by
StateServer cannot be clustered, so it introduces a single point of failure
Yes. That's why I said that it's only good for small/medium websites
( which don't require clustered web servers... )
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Joerg Jooss" <news-reply@.joergjooss.dewrote in message
news:94fc50716ed588c93e0d7f6d3228@.msnews.microsoft .com...
Quote:
Originally Posted by
Thus wrote Mark,
>
Quote:
Originally Posted by
>"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
>news:uREqFI6bHHA.3648@.TK2MSFTNGP05.phx.gbl...
>>
Quote:
Originally Posted by
>>State Server can also do the job for clustered servers.
>>>
>>ASP.NET applications support maintaining session state on a
>>centralized session state server *or* on a server running SQL Server.
>>>
>>Because the session state is managed centrally,
>>any cluster host can recover session state information.
>Do you have any thoughts as to when to use one and when to use the
>other...?
>>
>There's a fair bit of information on the net about each individually,
>but there doesn't seem to be much on which is the more suitable
>according to infrastructure etc...
>
StateServer cannot be clustered, so it introduces a single point of failure, making any cluster in
front of it rather moot ;-)
>
Cheers,
--
Joerg Jooss
news-reply@.joergjooss.de
>
>
Yes, it will. Look into two options:
1) ASP.NET State Server
2) SQL Server Session State option
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Eric Layman" wrote:
Quote:
Originally Posted by
Hi everyone,
>
Will clustering of webservers affect SESSION states?
>
Is there a dotnet term for the above mentioned scenario?
>
Pls advise.
>
Thanks.
>
>
>
Posted Via Usenet.com Premium Usenet Newsgroup Services
------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
------------------
http://www.usenet.com
>
Wednesday, March 28, 2012
Web service - how to?
I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?
Thanks
RegardsWhere ever the web service is running will have to have file level access to
the DB, is this possible with your setup?
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"John" <john@.nospam.infovis.co.uk> wrote in message
news:%23wQKuMDPEHA.1312@.TK2MSFTNGP12.phx.gbl...
> Hi
> I would like to access an ms access database located at a web site from my
> desktop via web service. Is there some information available on how to do
> that? Would the web service run on a shared hosting web account?
> Thanks
> Regards
>
Think of a web service as a special purpose web page with a predefined
URL and output. Let's say you wrote an ASP page that would take an ID
from the URL, get some data from the database and display it on the
screen. Now, take the URL and replace it with a special XML string,
and wrap the result up the same way and you have a web service.
The Web Service code is just another ASPX page (with a different
extension and a few more lines of code). Therefore, whatever you would
need to do to get to the database in an ASPX page, you would need to
do in a web service.
On Mon, 17 May 2004 18:19:06 +0100, "John" <john@.nospam.infovis.co.uk>
wrote:
>Hi
>I would like to access an ms access database located at a web site from my
>desktop via web service. Is there some information available on how to do
>that? Would the web service run on a shared hosting web account?
>Thanks
>Regards
>
Web service - how to?
I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?
Thanks
RegardsWhere ever the web service is running will have to have file level access to
the DB, is this possible with your setup?
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"John" <john@.nospam.infovis.co.uk> wrote in message
news:%23wQKuMDPEHA.1312@.TK2MSFTNGP12.phx.gbl...
> Hi
> I would like to access an ms access database located at a web site from my
> desktop via web service. Is there some information available on how to do
> that? Would the web service run on a shared hosting web account?
> Thanks
> Regards
Think of a web service as a special purpose web page with a predefined
URL and output. Let's say you wrote an ASP page that would take an ID
from the URL, get some data from the database and display it on the
screen. Now, take the URL and replace it with a special XML string,
and wrap the result up the same way and you have a web service.
The Web Service code is just another ASPX page (with a different
extension and a few more lines of code). Therefore, whatever you would
need to do to get to the database in an ASPX page, you would need to
do in a web service.
On Mon, 17 May 2004 18:19:06 +0100, "John" <john@.nospam.infovis.co.uk>
wrote:
>Hi
>I would like to access an ms access database located at a web site from my
>desktop via web service. Is there some information available on how to do
>that? Would the web service run on a shared hosting web account?
>Thanks
>Regards
Saturday, March 24, 2012
Web service or vbscript?
The project I work on is a forum. Here is a scenario: if someone replies to a topic people who are listening to the topic should be notified via email. The email should be personally addressed. (Hello <user name>, new reply for topic. Click here to go to forum reply...). Anyway I have to query the database, get the list of people subscribed for the topic and send the individual emails out. Another requirement is that this should be independent of my web page processing. I would not want my processing to block for the task to complete.
Should I rely on a web service or just plain vbscript to do this?
If I am using a web service how do I call it during web page processing? (And it should be asynchronous too...!)
Regarding VbScript VS WebService, use a web service.
Regarding if it should be async, it should.
Regarding how to call it, see this article...
Asynchronous Web Services
http://www.informit.com/articles/article.aspx?p=29395&seqNum=1
...or any of the other many fine articles on the web.
HTH.
Thank you.
-- Mark Kamoski
Hi,
As far as I know, WebService is better. To implement Asynchronous Web Services, there is a sample as below.
WebService (name: WH)
using System;using System.Web;using System.Web.Services;using System.Web.Services.Protocols;[WebService(Namespace = "http://tempuri.org/")][WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]public class Service : System.Web.Services.WebService{public Service () {//Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod]public voidSendMail() {//put your codes about sending mail into here. }}In your aspx page, you can call the WH WebService with Asynchronous approach.
protected void WSSendingMail() { WH.Service someWS =new WH.Service(); System.AsyncCallback cb =new AsyncCallback(showmsg); someWS.BeginSendMail(cb, someWS); }void showmsg(IAsyncResult ar) { WH.Service someWS = (WH.Service)ar.AsyncState; someWS.EndSendMail(ar); } Hope this can help.
Web Service question
I've written an asp.net application that gets data from a database through a web service. This is fine as long as the database is located on the web server with the application. Now I need to get data from a database on a PC connected to the internet via DSL. The PC is not a web server, just a PC running Windows XP.
Should the web service be located on the web server? If so, how does it find the database in order to connect to the database?
Should the web service be located on the PC? Since the PC is not a web server, the web service is not advertised, so how do I create the web reference in the application?
I don't know why you posted this post about Web Services in this forum and how IT was approved in this forum.
Please post in the XML Web Services section. You well get better replies.
Regards
The webservice has to be on a server.
The database has to have access to the internet (port must be open)
The webservice has a connectionstring, which points to the database.
A webservice can make a WSDL-file, which describes the webservice.Under 'project' in visual studio, you can import it to use in yourapplication.