473,326 Members | 2,126 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,326 software developers and data experts.

Session state management with SQLserver and custom DB?

ML
Hi NG!

I wish to use SQLserver sessionstate mode with my ASP.NET application, since
reliability is a big issue and performance less so. However, it is hosted at
an external hosting partner who does not allow me to have the ASPstate db on
the SQL server (or to create another, for that matter). I have the one SQL
database at the server which is the foundation for the application. So my
question is:

Is there any way I can use that db for storing the session-information or is
there no way around using the designated ASPstate db?

Thanks!

regards,

M.L.
Nov 19 '05 #1
1 1149
You can build your own in v2.0, but if you're stuck with v1.1 then you'll
probably have to build your own persistence mechanism. You might forego ASP.NET's
Session all together and just write your own equivalent. Or you could perhaps
use the built in Session, but then write your own hooks in global.asax to
load and save session to your own database.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi NG!

I wish to use SQLserver sessionstate mode with my ASP.NET application,
since reliability is a big issue and performance less so. However, it
is hosted at an external hosting partner who does not allow me to have
the ASPstate db on the SQL server (or to create another, for that
matter). I have the one SQL database at the server which is the
foundation for the application. So my question is:

Is there any way I can use that db for storing the session-information
or is there no way around using the designated ASPstate db?

Thanks!

regards,

M.L.


Nov 19 '05 #2

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

Similar topics

4
by: John Q. Smith | last post by:
I'm trying to find out some of the details behind OOP state management with SQL Server. For instance - how long does the session object live on any server? Is it created and destoyed with each...
5
by: RA | last post by:
Hi If I use session variables does this depends on cookies being sent to the client browser? If yes then what happens if the user disable cookies? Thanks
2
by: John A Grandy | last post by:
for high traffic public websites , what are the proven options for session-state storage & management ? is an out-of-process state-server generally preferred over a sql-server ? what are the...
5
by: sdettmers | last post by:
Hi, Database: SQL Server Session: SQL Server Language: C# Application: ASP.Net I have created a login page which attempts to retrieve the users record from the database and I...
4
by: John Allberg | last post by:
Hi! We have a problem which is correlated to web farms and session handling and are thinking of what solution to choose. Our setup is with a web farm, one ldap server and a database cluster. ...
1
by: Tim | last post by:
Could anyone tell me what this means and how do I correct it. Any suggestions? Thanks! Tim Richardson IT Developer and Consultant www.paladin3d.com Unable to serialize the session state. In...
4
by: Sarah Marriott | last post by:
Our website contains session variables that are used to validate if a user is logged in etc. We have found that these variables are randomly lost while navigating the website. We set up some...
0
by: Ross Culver | last post by:
I've gone round and round on this same issue for weeks unable to find any solution referenced on the Internet or in any forum. I've changed the session management from InProc to SQLServer to...
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: 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...
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)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.