473,385 Members | 1,312 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,385 software developers and data experts.

APIs for SQLServer state storage

Hi,
Is there a set of APIs that would let me access the tables where ASP.NET
stores the state when in SQLServer mode.

Thanks.

Kishore
Nov 18 '05 #1
2 1261
I'm assuming you mean you are storing your session state in sql server and
not using a session server or inproc memory. If this is the case, then any
API you have to access a sql server database will do. Query Analyzer, or
even MS Access if you create a connection to the SQL database. Eventhough
the ASPState (or whatever you called it) that suppose to store the session
information appears it should be in that database, it is actually stored in
the tempdb. Look in the tempdb database of the server handling your session
state and you will find all your session data there.

D.

"Kishore Gopalan" <Kishore Go*****@discussions.microsoft.com> wrote in
message news:99**********************************@microsof t.com...
Hi,
Is there a set of APIs that would let me access the tables where ASP.NET
stores the state when in SQLServer mode.

Thanks.

Kishore

Nov 18 '05 #2
Storing the state in tempdb is fine, but you lose information when the
sqlserver is restarted. You can also store the state information in a
seperate database. See
http://support.microsoft.com/default...b;en-us;311209

"DWinter" wrote:
I'm assuming you mean you are storing your session state in sql server and
not using a session server or inproc memory. If this is the case, then any
API you have to access a sql server database will do. Query Analyzer, or
even MS Access if you create a connection to the SQL database. Eventhough
the ASPState (or whatever you called it) that suppose to store the session
information appears it should be in that database, it is actually stored in
the tempdb. Look in the tempdb database of the server handling your session
state and you will find all your session data there.

D.

"Kishore Gopalan" <Kishore Go*****@discussions.microsoft.com> wrote in
message news:99**********************************@microsof t.com...
Hi,
Is there a set of APIs that would let me access the tables where ASP.NET
stores the state when in SQLServer mode.

Thanks.

Kishore


Nov 18 '05 #3

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

Similar topics

7
by: Bart Torbert | last post by:
Hello, I am starting to examine using SQLServer instead of Oracle. I went through the SQLServer import utility to copy tables from Oracle into SQLServer. I then checked the size of the...
1
by: quique | last post by:
Hi all, I want to know the advantages and disadvantages of the methods of maintain session state, obviously if i choose sqlserver is the most robust but the less performace.. If wan't to...
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...
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...
2
by: Dave Wright | last post by:
Hi, We have implemented a IIS NLB farm and would like to know if a SQL Session database can be used to host multiple sites? As the entry in web.config does not allow a database name to be...
8
by: karahan celikel | last post by:
I realized that when SqlServer mode is used for session management Session_End event is not fired in global.asax. What can I do if I want to do something when a user's session end? 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...
2
by: Richard | last post by:
Can collection classes be used to store session data? In a couple of books on ASP.Net where they discuss state management (to capture a user's input data), they talk about session and application...
17
by: boa | last post by:
I'm currently planning disk layouts and use for a new version of our database. The current version has all data and indexes in the default filegroup, placed on one big raid-5 array(6 drives) along...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.