473,806 Members | 2,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Saving Session State

I am writing a .Net web application that needs to save some state
information across web pages. I'm using Session.Item("< item name>") = <item
state> calls in my VB code so save the session information. It all works
fine on my development machine (XP Pro), but the session information seems
to be getting lost when I deploy and run the application onto the server.
The session state info in the web.config file is the default (InProc).

What am I doing wrong, and how do I fix it?

Other info:
Visual Studio.Net 2003
Windows 2000 Advanced Server
..Net Framework 1.1 (freshly installed). The only config changes I've made
are to change the userName to SYSTEM in machine.config (this is because the
server is a backup DC)

--
</Slugsie>
Nov 18 '05 #1
2 1094
Did u forget to make the virtual folder an application?

Tommy,

"Slugsie" <me@privacy.net > wrote in message news:<eO******* *******@TK2MSFT NGP10.phx.gbl>. ..
I am writing a .Net web application that needs to save some state
information across web pages. I'm using Session.Item("< item name>") = <item
state> calls in my VB code so save the session information. It all works
fine on my development machine (XP Pro), but the session information seems
to be getting lost when I deploy and run the application onto the server.
The session state info in the web.config file is the default (InProc).

What am I doing wrong, and how do I fix it?

Other info:
Visual Studio.Net 2003
Windows 2000 Advanced Server
.Net Framework 1.1 (freshly installed). The only config changes I've made
are to change the userName to SYSTEM in machine.config (this is because the
server is a backup DC)

Nov 18 '05 #2
Nope, when the web app installs it's automatically created as an app.

--
</Slugsie>
"Tommy" <We**********@H otmail.com> wrote in message
news:a8******** *************** *@posting.googl e.com...
Did u forget to make the virtual folder an application?

Nov 18 '05 #3

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

Similar topics

5
7259
by: Michael Albanese | last post by:
Can you save objects a (custom class) to Viewstate and then get them on a later page?? I have a custom class for an ASP.Net application that I would like to make available across several web pages. For example: page1.aspx accepts a users's name, age and gender, instantiated the new class and redirects to page2.aspx
4
10820
by: John Kandell | last post by:
Hi, I posted this in the asp.net group, but didn't get a response. Maybe someone here can help me with this... --- Would someone be able to shed some light on what is the cost of saving a DataTable to session vs saving a custom object of the same data.
0
1037
by: Shiran | last post by:
hi, i'm programming in ASP.net and i'm having a problem saving the state of the session. all the parameters i save , primitive or not are not being save and get lost. does anybody have any idea? maybe something with the configuratio settings?
1
1280
by: usl2222 | last post by:
Hi, I'm building this web application using asp.net and c# as code behind. Currently I save all my session data in session variables. One of the things that this application must do, is to invoke another instance of the same application, with different parameters, of course. Then the second invokation can potentially couse a third invokation, etc.
0
999
by: headware | last post by:
I've been reading about saving the state of the controls of a page so the user can be redirected to another page and then return to the original in the state it was in when they left. I've seen a lot of conflicting answers on the subject. Some people say that you can use the LoadPageStateFromPersistenceMedium() and SavePageStateToPersistenceMedium() functions to do this, but they don't say how to get around the problem that the...
3
1556
by: Denis Georgievski | last post by:
I am optimizing my web application written in ASP/VB.NET 1.1. I have number of pages that have dropdown list server controls that contain large number of items. Before redesigning the data access I would like to try by saving the view state to the server if this can speed up the access to these heavy pages. Could somebody give me a working example on saving the viewstate to the server written in VB. Thanks
2
1215
by: Børge Hansen | last post by:
Hi. I am trying to create functionality for saving the contents (state) of a page. The idea is that when navigating away from a webpage and later returning the state of the textboxes, etc should be reinstated.... Just like Viewstate, but not.... Basicly I have a tabbed GUI and wants to make the webapp work like a winform with tabs....
0
1169
by: Stu | last post by:
Hi, I want to be able to come up with some way of navigating around a system that allows me to save certain screen info (Say combo box setting) so that when returning to the screen from a link on another screen it remembers the screen settings as they were. Using javascript can obviously be messy as I found Session variables could be overkill since different screens have potentially different
1
1827
by: Jeff | last post by:
I need to place a "Previous Page" link on every page within my site and a simple javascript:history.back() will not work because I need it to capture the state of the page when I left it. For example, if I have a page with some date controls so I can choose a date range and postback the page. It then displays results based on that date range. When I leave the page for another page, I would like to have the Previous Page link take them...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10372
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7650
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.