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

ASP.NET 2.0 Session State

Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL Server?
Sep 22 '06 #1
4 1881
Yes.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"jnick" <jn***@discussions.microsoft.comwrote in message
news:43**********************************@microsof t.com...
Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL Server?

Sep 22 '06 #2
The session state should be the same, but I would not feel comfortable using
the same exact SLQ Server database for session state for both, making me
inclined to say no.

You could aim to different instances or different databases (not sure how to
do the later).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"jnick" <jn***@discussions.microsoft.comwrote in message
news:43**********************************@microsof t.com...
Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL Server?

Sep 22 '06 #3
re:
You could aim to different instances
Not needed.

re:
or different databases (not sure how to do the later).
It's easily done by using the -d parameter when you run aspnet_regsql.exe
for ASP.NET 2.0, or modify installsqlstate.sql for the 1.1 version.

You need to modify the other two install*.sql files if you change the default name for 1.1:
installpersistsqlstate.sql and installsqlstatetemplate.sql ( as opposed to changing the
database name for 2.0 )

For ASP.NET 2.0, run ''aspnet_regsql.exe -?'' for details.

You will need to change one or the other, since the default name for both is "ASPState"

The databases are quite different, and pointing each ASP.NET
version to a differently-named database will work fine.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
The session state should be the same, but I would not feel comfortable using the same exact SLQ
Server database for session state for both, making me inclined to say no.

You could aim to different instances or different databases (not sure how to do the later).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"jnick" <jn***@discussions.microsoft.comwrote in message
news:43**********************************@microsof t.com...
>Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL Server?


Sep 22 '06 #4
Juan:

Thanks for the info on how to set up different versions. I figured the
session state database was incompatible, but did not want to take a chance
with the wrong info. Kudos!

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u6**************@TK2MSFTNGP06.phx.gbl...
re:
>You could aim to different instances

Not needed.

re:
>or different databases (not sure how to do the later).

It's easily done by using the -d parameter when you run aspnet_regsql.exe
for ASP.NET 2.0, or modify installsqlstate.sql for the 1.1 version.

You need to modify the other two install*.sql files if you change the
default name for 1.1:
installpersistsqlstate.sql and installsqlstatetemplate.sql ( as opposed to
changing the
database name for 2.0 )

For ASP.NET 2.0, run ''aspnet_regsql.exe -?'' for details.

You will need to change one or the other, since the default name for both
is "ASPState"

The databases are quite different, and pointing each ASP.NET
version to a differently-named database will work fine.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:%2****************@TK2MSFTNGP06.phx.gbl...
>The session state should be the same, but I would not feel comfortable
using the same exact SLQ Server database for session state for both,
making me inclined to say no.

You could aim to different instances or different databases (not sure how
to do the later).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************** **
Think outside of the box!
*********************************************** **
"jnick" <jn***@discussions.microsoft.comwrote in message
news:43**********************************@microso ft.com...
>>Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL
Server?



Sep 22 '06 #5

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

Similar topics

5
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of...
3
by: Nhi Lam | last post by:
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...
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...
1
by: Johan Nedin | last post by:
Hello! I have a problem with SQLSession state on my ASP.NET pages. SQLSession state behaves very different from InProcess session state, which I think is very bad. I can understand some of...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
5
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
11
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each...
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: 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?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.