Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 May 8th, 2007, 03:34 AM
Authorized User
Join Date: Jul 2003
Location: , , Thailand.
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Default ASP.Net without session.

I've a problem to develop asp.net web application on the server that cannot use httpcontext session. I'm not sure why it cannot use session. I want to know how can I maintain session state variable on such type of this server. Any suggestion for me?

Thank in advance.

Old May 8th, 2007, 05:49 AM
Wrox Technical Editor
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts

Here's a couple related excerpts from a great article:
quote:session data can’t be shared in a web farm scenario where multiple web servers are processing requests from multiple clients ... The ASP.NET session implementation addresses both of these weaknesses by allowing for "cookieless" sessions and off-server storage of session data. The ASP.NET session state module is configured declaratively in the Web.config file like so:

<sessionState mode="InProc" cookieless="false" timeout="20" />
Above taken from: Session management options in ASP.NET: http://www.codeproject.com/aspnet/ASPNETSession.asp

Another great link: Why you shouldn't use InProc Session State in ASP.NET: http://west-wind.com/weblog/posts/1986.aspx

- Adam Kahtava [http://adam.kahtava.com]

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintain the session in asp.net samgaya1983 ASP.NET 2.0 Professional 2 June 29th, 2007 03:37 AM
Problem using Session in ASP.NET Scripts82 VB.NET 2002/2003 Basics 0 December 6th, 2006 09:03 AM
session variables in asp to asp.net marvz ASP.NET 2.0 Basics 0 August 1st, 2005 03:09 AM
ASP .NET using C# session problem !! wireblock ASP.NET 1.0 and 1.1 Basics 4 July 17th, 2003 02:57 AM

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