Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2007, 05:07 PM
Authorized User
 
Join Date: Mar 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jgrant
Default Sessionstate

I want to pass variables from one content page to another using ["someVariable"] so I need to set the sessionstate of my app. The syntax is easy enought to follow but I do I use an ODBC connection instead of sql? So when they ask for a connection string but I have only been able to find sqlconnection strings instead of an ODBC. Any thoughts?


 
Old August 26th, 2007, 01:36 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

To my knowledge, only SQL Server is supported for database session state management. I could be totally wrong however. I suppose that it might be fine as long as the database you connect to has the correct session state schema. However, it's possible that it will still only work with SQL Server. You can change the connection string, but the underlying classes that control database session state are likely using the System.Data.SqlClient classes so they'll only work with SQL Server.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
SessionState timeout=60 -- Not working!!! angshujit ASP.NET 2.0 Basics 4 March 3rd, 2008 04:23 AM
Unrecognized configuration section 'sessionState' Shihanshin BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 27th, 2005 05:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.