473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

SQL Session State in a database other than ASPState?

I have several applications running in a hosted environment and the
provider will not allow either a session state service or a session
state on the sql server.

Is there any way I can add the session state tables to my own database
and use that instead? I have tried to put the "initial catalog" in the
connect string, but .Net doesn't like that...

Matt...
mt****@lgc.com
Jul 19 '05 #1
2 2650
"initial catalog" means the default database opened when you connect to a
database server. For example, when you connect to a SQL server with
"initial catalog=pubs" , you will only access the data in database pubs.
Anyway, this seems not help to the session problem. You may need to contact
your provider if they support the Session object in ASP.NET. If not, we
have little to do: From the Request object, we can get the client's IP, and
save some record with the speciall IP in the database.However, without
Session object, we can't determine when a client will disconnect, the
records may be kept in the database.

Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 19 '05 #2
This is by design and can't be changed.

Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 19 '05 #3

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

Similar topics

0
by: Tony | last post by:
We are a software company that builds an ASP.Net web application which implements cookieless sessionState with SQLServer- the session is stored in the url. Our ASPState database has been built...
2
by: Matt | last post by:
I have several applications running in a hosted environment and the provider will not allow either a session state service or a session state on the sql server. Is there any way I can add the...
1
by: Julie Barnet | last post by:
Hi, I am having a problem with my session state through sql server. This used to work, then all of a sudden (the only change was setting up replication in the sqlserver database) it stopped...
3
by: Ahmed Hashish | last post by:
Dear All I'm trying to use the sql server 2005 to store my web application session variables, First I modified the web.config as follows: <sessionState mode="SQLServer" cookieless="true" ...
0
by: Kevin Jackson | last post by:
We are running a ASP.NET 1.1 web app on Windows Server 2003 SP1. We are using IIS 6.0 native mode and .NET 1.1 SP1 is installed. We have 3 web apps in our web farm. We are using SQLServer...
1
by: Calculated | last post by:
We have a number of databases mirrored including the ASPState session database used by the websites. However the connection string to the ASPState database does not allow you to include the...
0
by: abraxas | last post by:
I was able to configure and run an ASP.NET (V2 framework) application to use state session data stored on a SQL Server 2000 server database per MS KB 311209 (Persistent SQL Server Session State...
1
by: dchinn | last post by:
I have a freshly installed test machine, both 1.1 and 2.0 frameworks installed, and sql server 2005. The application was ported from 1.1 -2.0. I ran aspnet_regsql wizard with defaults, which...
1
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've been looking at using SQLServer to maintain session state. I'm confused over what permissions are required. There is an autoexec stored procedure in master called ASPState_Startup that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.