Ask a Question related to ASP.NET General, Design and Development.
-
Nhi Lam #1
Session State
Hi,
I understand that there are 3 modes in which I can
configure the SessionStateModule. What I need is an out of
process Session State store with fail over support.
The "SQL Server Mode" seems to be it, but I heard there is
quite a bit of degradation in performance for using this
mode. My next option is the "State Server Mode". However,
this mode does not give me the fail over support. Is there
anything that I can do the enhance the "State Server Mode"
to provide fail over support, such as dedicating 2 Session
State servers instead of 1, and adding the hooks to
replicate the session states from one server to the next?
Thanks in advance for your help.
--Nhi Lam
Nhi Lam Guest
-
Session state IIS (Machine Key | Load Balanced Session)
This is a classic ASP group. Try microsoft.public.dotnet.framework.aspnet "Fred" <me@me.com> wrote in message... -
session state ???
Hi, I have following function in a WebService-class : public int Count() { if ( null == Session ) Session = 0; else -
Using a SQL DB for session state.
I have encountered a problem when I restart a SQL server I lose my session variables for ASP.NET It seems that the Temp table cannot be used... -
Asp Session state ??
I'm pretty new to asp. It seems that I am assigning to the session rather than comparing against. I want to compare it in the first peice of code... -
Session state...
Why are you calling a webservice that is within the same app. Shouldn't the web service be on a different server or at least be a different IIS... -
Nhi Lam #2
RE: Session State
Hi Yan-Hong Huang,
Thanks for the response. I can't use the "SQL Server Mode"
because of performance reasons. So my only option is
the "Out of Process mode". However, I am concerned that
when the computer that hosts the stateserver service
crashes, then all of our users will lose their sessions.
What I'd like to know is if there's a way to run 2
computers to host the stateserver service and have them
replicate the session states among themselves. In this
way, if one computer crashes, the other one can take over.
Thanks,
--Nhi Lam
alone Microsoft>-----Original Message-----
>Hello Nhi,
>
>From MSDN:
>StateServer: Alternately, StateServer mode uses a stand-service is>Windows service to store session variables. Because this(IIS), it can run on a>independent of Microsoft Internet Information Serverbalancing solution>separate server. You can use this mode for a load-Although session>because multiple Web servers can share session variables.impacted when you>variables are not lost if you restart IIS, performance issession state modes,>cross process boundaries.
>
>So we could just use one stateserver service.
>
>When we are considering these three types of ASP.NETand reliability>It's worth mentioning, briefly, some of the performancememory is kept>issue.
>
>In process:
>In process will perform best because the session stateon a single server,>within the ASP.NET process. For Web applications hosteddirected to the>applications in which the user is guaranteed to be re-critical (in the sense>correct server, or when session state data is notthe mode to choose.>that it can be re-constructed or re-populated), this isyou can't>
>Out of process:
>This mode is best used when performance is important butfrom. With>guarantee which server a user will request an applicationfrom memory and the>out-of-process mode, you get the performance of readingfor all servers.>reliability of a separate process that manages the stateis fundamental to>
>SQL Server:
>This mode is best used when the reliability of the dataclustered for>the stability of the application, as the database can beof process, but the>failure scenarios. The performance isn't as fast as outconfers no rights.>tradeoff is the higher level of reliability.
>
>Hope it helps.
>
>Best regards,
>yhhuang
>VS.NET, Visual C++
>Microsoft
>
>This posting is provided "AS IS" with no warranties, andmicrosoft.public.dotnet.framework.aspnet:154539>Got .Net? [url]http://www.gotdotnet.com[/url]
>--------------------
>!Content-Class: urn:content-classes:message
>!From: "Nhi Lam" <nhilam@secretplace.com>
>!Sender: "Nhi Lam" <nhilam@secretplace.com>
>!Subject: Session State
>!Date: Tue, 24 Jun 2003 09:56:31 -0700
>!Lines: 17
>!Message-ID: <0f6401c33a71$8fb4eba0$a601280a@phx.gbl>
>!MIME-Version: 1.0
>!Content-Type: text/plain;
>! charset="iso-8859-1"
>!Content-Transfer-Encoding: 7bit
>!X-Newsreader: Microsoft CDO for Windows 2000
>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>!Thread-Index: AcM6cY+0trTuqTayQ36G3C1UQ8lEpw==
>!Newsgroups: microsoft.public.dotnet.framework.aspnet
>!Path: cpmsftngxa06.phx.gbl
>!Xref: cpmsftngxa06.phx.gblof>!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
>!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>!
>!Hi,
>!
>!I understand that there are 3 modes in which I can
>!configure the SessionStateModule. What I need is an outis>!process Session State store with fail over support.
>!The "SQL Server Mode" seems to be it, but I heard thereHowever,>!quite a bit of degradation in performance for using this
>!mode. My next option is the "State Server Mode".there>!this mode does not give me the fail over support. IsMode">!anything that I can do the enhance the "State ServerSession>!to provide fail over support, such as dedicating 2>!State servers instead of 1, and adding the hooks to
>!replicate the session states from one server to the next?
>!
>!Thanks in advance for your help.
>!--Nhi Lam
>!
>!
>
>.
>Nhi Lam Guest
-
Yan-Hong Huang[MSFT] #3
RE: Session State
Hello Nhi,
I will send email to confirm if there is any way to do it. I will get back
here ASAP. Thanks.
Best regards,
yhhuang
VS.NET, Visual C++
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? [url]http://www.gotdotnet.com[/url]
--------------------
!Content-Class: urn:content-classes:message
!From: "Nhi Lam" <nhilam@secretplace.com>
!Sender: "Nhi Lam" <nhilam@secretplace.com>
!References: <0f6401c33a71$8fb4eba0$a601280a@phx.gbl>
<SmCrvSuODHA.2284@cpmsftngxa06.phx.gbl>
!Subject: RE: Session State
!Date: Wed, 25 Jun 2003 10:11:37 -0700
!Lines: 131
!Message-ID: <0dae01c33b3c$d6468c10$a601280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcM7PNZGkJX6wA7rR3yThb0LtTTt5A==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:154852
!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hi Yan-Hong Huang,
!
!Thanks for the response. I can't use the "SQL Server Mode"
!because of performance reasons. So my only option is
!the "Out of Process mode". However, I am concerned that
!when the computer that hosts the stateserver service
!crashes, then all of our users will lose their sessions.
!What I'd like to know is if there's a way to run 2
!computers to host the stateserver service and have them
!replicate the session states among themselves. In this
!way, if one computer crashes, the other one can take over.
!
!Thanks,
!--Nhi Lam
!
!>-----Original Message-----
!>Hello Nhi,
!>
!>From MSDN:
!>StateServer: Alternately, StateServer mode uses a stand-
!alone Microsoft
!>Windows service to store session variables. Because this
!service is
!>independent of Microsoft Internet Information Server
!(IIS), it can run on a
!>separate server. You can use this mode for a load-
!balancing solution
!>because multiple Web servers can share session variables.
!Although session
!>variables are not lost if you restart IIS, performance is
!impacted when you
!>cross process boundaries.
!>
!>So we could just use one stateserver service.
!>
!>When we are considering these three types of ASP.NET
!session state modes,
!>It's worth mentioning, briefly, some of the performance
!and reliability
!>issue.
!>
!>In process:
!>In process will perform best because the session state
!memory is kept
!>within the ASP.NET process. For Web applications hosted
!on a single server,
!>applications in which the user is guaranteed to be re-
!directed to the
!>correct server, or when session state data is not
!critical (in the sense
!>that it can be re-constructed or re-populated), this is
!the mode to choose.
!>
!>Out of process:
!>This mode is best used when performance is important but
!you can't
!>guarantee which server a user will request an application
!from. With
!>out-of-process mode, you get the performance of reading
!from memory and the
!>reliability of a separate process that manages the state
!for all servers.
!>
!>SQL Server:
!>This mode is best used when the reliability of the data
!is fundamental to
!>the stability of the application, as the database can be
!clustered for
!>failure scenarios. The performance isn't as fast as out
!of process, but the
!>tradeoff is the higher level of reliability.
!>
!>Hope it helps.
!>
!>Best regards,
!>yhhuang
!>VS.NET, Visual C++
!>Microsoft
!>
!>This posting is provided "AS IS" with no warranties, and
!confers no rights.
!>Got .Net? [url]http://www.gotdotnet.com[/url]
!>--------------------
!>!Content-Class: urn:content-classes:message
!>!From: "Nhi Lam" <nhilam@secretplace.com>
!>!Sender: "Nhi Lam" <nhilam@secretplace.com>
!>!Subject: Session State
!>!Date: Tue, 24 Jun 2003 09:56:31 -0700
!>!Lines: 17
!>!Message-ID: <0f6401c33a71$8fb4eba0$a601280a@phx.gbl>
!>!MIME-Version: 1.0
!>!Content-Type: text/plain;
!>! charset="iso-8859-1"
!>!Content-Transfer-Encoding: 7bit
!>!X-Newsreader: Microsoft CDO for Windows 2000
!>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!>!Thread-Index: AcM6cY+0trTuqTayQ36G3C1UQ8lEpw==
!>!Newsgroups: microsoft.public.dotnet.framework.aspnet
!>!Path: cpmsftngxa06.phx.gbl
!>!Xref: cpmsftngxa06.phx.gbl
!microsoft.public.dotnet.framework.aspnet:154539
!>!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!>!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!>!
!>!Hi,
!>!
!>!I understand that there are 3 modes in which I can
!>!configure the SessionStateModule. What I need is an out
!of
!>!process Session State store with fail over support.
!>!The "SQL Server Mode" seems to be it, but I heard there
!is
!>!quite a bit of degradation in performance for using this
!>!mode. My next option is the "State Server Mode".
!However,
!>!this mode does not give me the fail over support. Is
!there
!>!anything that I can do the enhance the "State Server
!Mode"
!>!to provide fail over support, such as dedicating 2
!Session
!>!State servers instead of 1, and adding the hooks to
!>!replicate the session states from one server to the next?
!>!
!>!Thanks in advance for your help.
!>!--Nhi Lam
!>!
!>!
!>
!>.
!>
!
Yan-Hong Huang[MSFT] Guest
-
Yan-Hong Huang[MSFT] #4
RE: Session State
Hello Nhi,
It¡¯s impossible to have two stateserver services running for state
management. If rebustness is really a concern, we could only use SQL
Server with clustering.
For details, see this FAQ:
[url]http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7504[/url]
Hope it helps.
Best regards,
yhhuang
VS.NET, Visual C++
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? [url]http://www.gotdotnet.com[/url]
--------------------
!Content-Class: urn:content-classes:message
!From: "Nhi Lam" <nhilam@secretplace.com>
!Sender: "Nhi Lam" <nhilam@secretplace.com>
!References: <0f6401c33a71$8fb4eba0$a601280a@phx.gbl>
<SmCrvSuODHA.2284@cpmsftngxa06.phx.gbl>
!Subject: RE: Session State
!Date: Wed, 25 Jun 2003 10:11:37 -0700
!Lines: 131
!Message-ID: <0dae01c33b3c$d6468c10$a601280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcM7PNZGkJX6wA7rR3yThb0LtTTt5A==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:154852
!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hi Yan-Hong Huang,
!
!Thanks for the response. I can't use the "SQL Server Mode"
!because of performance reasons. So my only option is
!the "Out of Process mode". However, I am concerned that
!when the computer that hosts the stateserver service
!crashes, then all of our users will lose their sessions.
!What I'd like to know is if there's a way to run 2
!computers to host the stateserver service and have them
!replicate the session states among themselves. In this
!way, if one computer crashes, the other one can take over.
!
!Thanks,
!--Nhi Lam
!
!>-----Original Message-----
!>Hello Nhi,
!>
!>From MSDN:
!>StateServer: Alternately, StateServer mode uses a stand-
!alone Microsoft
!>Windows service to store session variables. Because this
!service is
!>independent of Microsoft Internet Information Server
!(IIS), it can run on a
!>separate server. You can use this mode for a load-
!balancing solution
!>because multiple Web servers can share session variables.
!Although session
!>variables are not lost if you restart IIS, performance is
!impacted when you
!>cross process boundaries.
!>
!>So we could just use one stateserver service.
!>
!>When we are considering these three types of ASP.NET
!session state modes,
!>It's worth mentioning, briefly, some of the performance
!and reliability
!>issue.
!>
!>In process:
!>In process will perform best because the session state
!memory is kept
!>within the ASP.NET process. For Web applications hosted
!on a single server,
!>applications in which the user is guaranteed to be re-
!directed to the
!>correct server, or when session state data is not
!critical (in the sense
!>that it can be re-constructed or re-populated), this is
!the mode to choose.
!>
!>Out of process:
!>This mode is best used when performance is important but
!you can't
!>guarantee which server a user will request an application
!from. With
!>out-of-process mode, you get the performance of reading
!from memory and the
!>reliability of a separate process that manages the state
!for all servers.
!>
!>SQL Server:
!>This mode is best used when the reliability of the data
!is fundamental to
!>the stability of the application, as the database can be
!clustered for
!>failure scenarios. The performance isn't as fast as out
!of process, but the
!>tradeoff is the higher level of reliability.
!>
!>Hope it helps.
!>
!>Best regards,
!>yhhuang
!>VS.NET, Visual C++
!>Microsoft
!>
!>This posting is provided "AS IS" with no warranties, and
!confers no rights.
!>Got .Net? [url]http://www.gotdotnet.com[/url]
!>--------------------
!>!Content-Class: urn:content-classes:message
!>!From: "Nhi Lam" <nhilam@secretplace.com>
!>!Sender: "Nhi Lam" <nhilam@secretplace.com>
!>!Subject: Session State
!>!Date: Tue, 24 Jun 2003 09:56:31 -0700
!>!Lines: 17
!>!Message-ID: <0f6401c33a71$8fb4eba0$a601280a@phx.gbl>
!>!MIME-Version: 1.0
!>!Content-Type: text/plain;
!>! charset="iso-8859-1"
!>!Content-Transfer-Encoding: 7bit
!>!X-Newsreader: Microsoft CDO for Windows 2000
!>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!>!Thread-Index: AcM6cY+0trTuqTayQ36G3C1UQ8lEpw==
!>!Newsgroups: microsoft.public.dotnet.framework.aspnet
!>!Path: cpmsftngxa06.phx.gbl
!>!Xref: cpmsftngxa06.phx.gbl
!microsoft.public.dotnet.framework.aspnet:154539
!>!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!>!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!>!
!>!Hi,
!>!
!>!I understand that there are 3 modes in which I can
!>!configure the SessionStateModule. What I need is an out
!of
!>!process Session State store with fail over support.
!>!The "SQL Server Mode" seems to be it, but I heard there
!is
!>!quite a bit of degradation in performance for using this
!>!mode. My next option is the "State Server Mode".
!However,
!>!this mode does not give me the fail over support. Is
!there
!>!anything that I can do the enhance the "State Server
!Mode"
!>!to provide fail over support, such as dedicating 2
!Session
!>!State servers instead of 1, and adding the hooks to
!>!replicate the session states from one server to the next?
!>!
!>!Thanks in advance for your help.
!>!--Nhi Lam
!>!
!>!
!>
!>.
!>
!
Yan-Hong Huang[MSFT] Guest
-
Demetri #5
Session State
I need a way to pass session variables from a classic asp
page to an asp.net page. I can not use a query string
since the one does not call the other. In addition, i'm
looking for more of a one application scope and not all
the applications under the wwwroot thus it does not have
to be but so generic.
Any ideas?
Thanks
Demetri Guest
-
Chris Moore [MSFT] #6
RE: Session State
Here is an article that might give you some ideas on this:
[url]http://www.eggheadcafe.com/articles/20021207.asp[/url]
Chris Moore[MSFT]
-------------------->Content-Class: urn:content-classes:message
>From: "Demetri" <Reject@spam.com>
>Sender: "Demetri" <Reject@spam.com>
>Subject: Session State
>Date: Wed, 9 Jul 2003 07:47:02 -0700
>Lines: 10
>Message-ID: <98e301c34628$f543e710$a401280a@phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcNGKPVD7PcO0UoJTyWyeiuBgH9oSA==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!cpmsftng xa09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158016
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>I need a way to pass session variables from a classic asp
>page to an asp.net page. I can not use a query string
>since the one does not call the other. In addition, i'm
>looking for more of a one application scope and not all
>the applications under the wwwroot thus it does not have
>to be but so generic.
>
>Any ideas?
>
>Thanks
>
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
[url]http://www.microsoft.com/info/cpyright.htm[/url]
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Chris Moore [MSFT] Guest
-
chris w. #7
session state
The situation:
We have a table that contains usercontrols. In the
usercontrols, there is input that we want to keep
throughout the session.
But are finding it difficult to get the variable values
from other usercontrols.
What does .NET suggest we do now that we are discouraged
from using Session variables?
Thanks for any help!
chris
chris w. Guest
-
Marina #8
Re: session state
Why are you discouraged from using session variables?
..NET does not discourage the use of session variables. That is why it has 3
different models for maintaining session state.
"chris w." <cbw@onlinech2m.com> wrote in message
news:0baa01c34c79$63883310$a501280a@phx.gbl...> The situation:
> We have a table that contains usercontrols. In the
> usercontrols, there is input that we want to keep
> throughout the session.
>
> But are finding it difficult to get the variable values
> from other usercontrols.
>
> What does .NET suggest we do now that we are discouraged
> from using Session variables?
>
> Thanks for any help!
>
> chris
Marina Guest
-
Bill Priess #9
Re: session state
Agreed. In fact, you could say that ASP.NET promotes the use of more session
state management than previous ASP did.
:)
Bill P.
"Marina" <zlatkinam@nospam.hotmail.com> wrote in message
news:OYcnr%23HTDHA.2148@TK2MSFTNGP12.phx.gbl...3> Why are you discouraged from using session variables?
>
> .NET does not discourage the use of session variables. That is why it has> different models for maintaining session state.
>
> "chris w." <cbw@onlinech2m.com> wrote in message
> news:0baa01c34c79$63883310$a501280a@phx.gbl...>> > The situation:
> > We have a table that contains usercontrols. In the
> > usercontrols, there is input that we want to keep
> > throughout the session.
> >
> > But are finding it difficult to get the variable values
> > from other usercontrols.
> >
> > What does .NET suggest we do now that we are discouraged
> > from using Session variables?
> >
> > Thanks for any help!
> >
> > chris
>
Bill Priess Guest
-
encapsul #10
session state
Any variables I set in the Global.asax as a Session Variable only carry thru
to the first page. That page is a menu and users hyperlink to another page
from there without carrying any form data. This page is also 1 level down
from the root. Session("test") = "anything"
Am I missing a configuration because values are not carry from page to page.
Application("test") = "anything" is also failing.
Max
encapsul Guest
-
-
Victor Garcia Aprea [MVP] #12
Re: session state
System.Web.HttpContext.Current.Session ?
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
"ton" <vrs@home.nl> wrote in message
news:bvr0cn$lfi$1@news2.tilbu1.nb.home.nl...> Hi,
> How can I handle sessionstate in the custom server controls
>
> Ton
>
>
Victor Garcia Aprea [MVP] Guest
-
Colin J Paterson #13
Session State
Is it possible to store session state for each separate user in a separate
process? We have a COM component that we want to use that is not thread safe
and has to be isolated. We would like to store this in a separate process
for each user.
Thanks for any help
Colin J Paterson Guest
-
Re: Session State
You are storing a binary object in session? This is not recommended and not
scalable
Jeff
"Colin J Paterson" <memexmsdn@memex.com> wrote in message
news:#oFYX7KyEHA.3400@TK2MSFTNGP10.phx.gbl...safe> Is it possible to store session state for each separate user in a separate
> process? We have a COM component that we want to use that is not thread> and has to be isolated. We would like to store this in a separate process
> for each user.
>
> Thanks for any help
>
>
Guest
-
Kevin Spencer #15
Re: Session State
An Integer is a binary object. I think you mean that storing a COM object in
Session is not recommended, right?
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
<jeff@removeemergencyreporting.com> wrote in message
news:OwG6PGOyEHA.260@TK2MSFTNGP11.phx.gbl...not> You are storing a binary object in session? This is not recommended andseparate> scalable
>
> Jeff
>
> "Colin J Paterson" <memexmsdn@memex.com> wrote in message
> news:#oFYX7KyEHA.3400@TK2MSFTNGP10.phx.gbl...> > Is it possible to store session state for each separate user in aprocess> safe> > process? We have a COM component that we want to use that is not thread> > and has to be isolated. We would like to store this in a separate>> > for each user.
> >
> > Thanks for any help
> >
> >
>
Kevin Spencer Guest
-
Re: Session State
I won't even answer that...I hate threads that discuss semantics..when the
language used is sufficient to communicate the issue.
An integer is NOT a binary object, it's a base object, in my mind. Of course
I meant a COM or similiar object. Your post added no new information.
Jeff
"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:#s8gMPOyEHA.3676@TK2MSFTNGP10.phx.gbl...in> An Integer is a binary object. I think you mean that storing a COM objectthread> Session is not recommended, right?
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Neither a follower
> nor a lender be.
>
> <jeff@removeemergencyreporting.com> wrote in message
> news:OwG6PGOyEHA.260@TK2MSFTNGP11.phx.gbl...> not> > You are storing a binary object in session? This is not recommended and> separate> > scalable
> >
> > Jeff
> >
> > "Colin J Paterson" <memexmsdn@memex.com> wrote in message
> > news:#oFYX7KyEHA.3400@TK2MSFTNGP10.phx.gbl...> > > Is it possible to store session state for each separate user in a> > > process? We have a COM component that we want to use that is not> process> > safe> > > and has to be isolated. We would like to store this in a separate>> >> > > for each user.
> > >
> > > Thanks for any help
> > >
> > >
> >
>
Guest
-
Kevin Spencer #17
Re: Session State
> I won't even answer that...I hate threads that discuss semantics..when the
That's not sematics, and I tried to be nice about it by giving you an out> language used is sufficient to communicate the issue.
("I think you mean..., right?"). It has nothing to do with a COM object
being binary. It has everything to do with the threading model. I simply
used an Integer as an example. In fact, almost everything you store in
Session State is binary. When people point out my mistakes, I admit them, as
hard as it is on my flesh to do so, in order to maintain my credibility.
And BTW, you contradicted yourself by saying that you wouldn't answer that,
and then answering that.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
<jeff@removeemergencyreporting.com> wrote in message
news:uVjobFPyEHA.3400@TK2MSFTNGP10.phx.gbl...course> I won't even answer that...I hate threads that discuss semantics..when the
> language used is sufficient to communicate the issue.
>
> An integer is NOT a binary object, it's a base object, in my mind. Ofobject> I meant a COM or similiar object. Your post added no new information.
>
> Jeff
>
>
> "Kevin Spencer" <kspencer@takempis.com> wrote in message
> news:#s8gMPOyEHA.3676@TK2MSFTNGP10.phx.gbl...> > An Integer is a binary object. I think you mean that storing a COMand> in> > Session is not recommended, right?
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Neither a follower
> > nor a lender be.
> >
> > <jeff@removeemergencyreporting.com> wrote in message
> > news:OwG6PGOyEHA.260@TK2MSFTNGP11.phx.gbl...> > > You are storing a binary object in session? This is not recommended> thread> > not> > separate> > > scalable
> > >
> > > Jeff
> > >
> > > "Colin J Paterson" <memexmsdn@memex.com> wrote in message
> > > news:#oFYX7KyEHA.3400@TK2MSFTNGP10.phx.gbl...
> > > > Is it possible to store session state for each separate user in a> > > > process? We have a COM component that we want to use that is not>> > process> > > safe
> > > > and has to be isolated. We would like to store this in a separate> >> > > > for each user.
> > > >
> > > > Thanks for any help
> > > >
> > > >
> > >
> > >
> >
>
Kevin Spencer Guest
-
Ray Costanzo [MVP] #18
Re: Session State
"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:eGftZhPyEHA.1564@TK2MSFTNGP09.phx.gbl...Bravo Kevin! I like it when people point out my mistakes, personally,> hard as it is on my flesh to do so, in order to maintain my credibility.>> When people point out my mistakes, I admit them, as
because it reminds me that there is still an infinite amount of stuff to
learn. Learning is my favorite part of living.
Ray at work
Ray Costanzo [MVP] Guest
-
Re: Session State
No new information, again. Perhaps we should start a new thread? How does
this help the OP?
You are wasting my time. You obviously understood the intent of my original
message, but chose to "one up".
Why do I get sucked into this stuff?? :-)
Jeff
"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:eGftZhPyEHA.1564@TK2MSFTNGP09.phx.gbl...the> > I won't even answer that...I hate threads that discuss semantics..whenas>> > language used is sufficient to communicate the issue.
> That's not sematics, and I tried to be nice about it by giving you an out
> ("I think you mean..., right?"). It has nothing to do with a COM object
> being binary. It has everything to do with the threading model. I simply
> used an Integer as an example. In fact, almost everything you store in
> Session State is binary. When people point out my mistakes, I admit them,that,> hard as it is on my flesh to do so, in order to maintain my credibility.
>
> And BTW, you contradicted yourself by saying that you wouldn't answerthe> and then answering that.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Neither a follower
> nor a lender be.
>
> <jeff@removeemergencyreporting.com> wrote in message
> news:uVjobFPyEHA.3400@TK2MSFTNGP10.phx.gbl...> > I won't even answer that...I hate threads that discuss semantics..when> course> > language used is sufficient to communicate the issue.
> >
> > An integer is NOT a binary object, it's a base object, in my mind. Of> object> > I meant a COM or similiar object. Your post added no new information.
> >
> > Jeff
> >
> >
> > "Kevin Spencer" <kspencer@takempis.com> wrote in message
> > news:#s8gMPOyEHA.3676@TK2MSFTNGP10.phx.gbl...> > > An Integer is a binary object. I think you mean that storing a COM> and> > in> > > Session is not recommended, right?
> > >
> > > --
> > > HTH,
> > > Kevin Spencer
> > > .Net Developer
> > > Microsoft MVP
> > > Neither a follower
> > > nor a lender be.
> > >
> > > <jeff@removeemergencyreporting.com> wrote in message
> > > news:OwG6PGOyEHA.260@TK2MSFTNGP11.phx.gbl...
> > > > You are storing a binary object in session? This is not recommended>> > thread> > > not
> > > > scalable
> > > >
> > > > Jeff
> > > >
> > > > "Colin J Paterson" <memexmsdn@memex.com> wrote in message
> > > > news:#oFYX7KyEHA.3400@TK2MSFTNGP10.phx.gbl...
> > > > > Is it possible to store session state for each separate user in a
> > > separate
> > > > > process? We have a COM component that we want to use that is not> >> > > > safe
> > > > > and has to be isolated. We would like to store this in a separate
> > > process
> > > > > for each user.
> > > > >
> > > > > Thanks for any help
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
Guest
-
Jeff Dillon #20
Re: Session State
Sure, when I'm wrong, I'll admit it right away. Except when I made myself
perfectly clear and someone wants attention by arguing in semantics.
You should not store binary objects in Session. Only base types like
integers and strings.
Jeff
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5Cqa$PyEHA.1188@tk2msftngp13.phx.gbl...>
> "Kevin Spencer" <kspencer@takempis.com> wrote in message
> news:eGftZhPyEHA.1564@TK2MSFTNGP09.phx.gbl...>> > hard as it is on my flesh to do so, in order to maintain my credibility.> >> When people point out my mistakes, I admit them, as
> Bravo Kevin! I like it when people point out my mistakes, personally,
> because it reminds me that there is still an infinite amount of stuff to
> learn. Learning is my favorite part of living.
>
> Ray at work
>
>
Jeff Dillon Guest



Reply With Quote

