DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 31 Jul 2007 18:50:08 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Nathan Sokalski
          2    bruce barker
          3    Nathan Sokalski
          4    Juan T. Llibre


Session.Timeout   
I have a page that uses Session variables when generating the SQL statements 
used to submit and retrieve data from a database. However, because I don't 
know how long the user will be on the page, setting the Session.Timeout 
property doesn't help me avoid errors (I can obviously set the value to a 
very high value, but that still doesn't completely solve the problem). Is 
there any way for me to avoid the Session timing out? Thanks.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
Date:Tue, 31 Jul 2007 18:50:08 -0400   Author:  

Re: Session.Timeout   
switch to the sql state server. you can then bump the session to days or 
weeks.

-- bruce (sqlwork.com)

Nathan Sokalski wrote:

> I have a page that uses Session variables when generating the SQL statements 
> used to submit and retrieve data from a database. However, because I don't 
> know how long the user will be on the page, setting the Session.Timeout 
> property doesn't help me avoid errors (I can obviously set the value to a 
> very high value, but that still doesn't completely solve the problem). Is 
> there any way for me to avoid the Session timing out? Thanks.
Date:Tue, 31 Jul 2007 16:03:47 -0700   Author:  

Re: Session.Timeout   
How exactly does the sql state server work? I am using SQL Server in this 
case, but I have a couple questions:

1. What is the syntax for sql state server? Could you give me an example or 
direct me to a page that does?

2. What if I am not using SQL Server, or what if a database is not involved 
at all?

3. Even though it is not a likely scenario in the case of the site I am 
working on, some people leave their browsers open for VERY long times, for 
example, if a site is informational, they might keep it minimized for a long 
time and occasionally look at it as a reference.

Thanks.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"bruce barker"  wrote in message 
news:%23r25Sc80HHA.3940@TK2MSFTNGP05.phx.gbl...

> switch to the sql state server. you can then bump the session to days or 
> weeks.
>
> -- bruce (sqlwork.com)
>
> Nathan Sokalski wrote:
>> I have a page that uses Session variables when generating the SQL 
>> statements used to submit and retrieve data from a database. However, 
>> because I don't know how long the user will be on the page, setting the 
>> Session.Timeout property doesn't help me avoid errors (I can obviously 
>> set the value to a very high value, but that still doesn't completely 
>> solve the problem). Is there any way for me to avoid the Session timing 
>> out? Thanks. 
Date:Tue, 31 Jul 2007 20:27:07 -0400   Author:  

Re: Session.Timeout   
re:
!> How exactly does the sql state server work?

It stores session state in a SQL Server database.

re:
!> Could you give me an example or direct me to a page that does?

http://msdn2.microsoft.com/en-us/library/ms178586.aspx




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/
======================================
"Nathan Sokalski"  wrote in message news:eaOGrK90HHA.4236@TK2MSFTNGP06.phx.gbl...

> How exactly does the sql state server work? I am using SQL Server in this case, but I have a couple questions:
>
> 1. What is the syntax for sql state server? Could you give me an example or direct me to a page that does?
>
> 2. What if I am not using SQL Server, or what if a database is not involved at all?
>
> 3. Even though it is not a likely scenario in the case of the site I am working on, some people leave their browsers 
> open for VERY long times, for example, if a site is informational, they might keep it minimized for a long time and 
> occasionally look at it as a reference.
>
> Thanks.
> -- 
> Nathan Sokalski
> njsokalski@hotmail.com
> http://www.nathansokalski.com/
>
> "bruce barker"  wrote in message news:%23r25Sc80HHA.3940@TK2MSFTNGP05.phx.gbl...
>> switch to the sql state server. you can then bump the session to days or weeks.
>>
>> -- bruce (sqlwork.com)
>>
>> Nathan Sokalski wrote:
>>> I have a page that uses Session variables when generating the SQL statements used to submit and retrieve data from a 
>>> database. However, because I don't know how long the user will be on the page, setting the Session.Timeout property 
>>> doesn't help me avoid errors (I can obviously set the value to a very high value, but that still doesn't completely 
>>> solve the problem). Is there any way for me to avoid the Session timing out? Thanks.
>
> 
Date:Tue, 31 Jul 2007 21:13:32 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us