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

Problems with Session variables

I am having a problem with a web application losing
session information when changing pages. The program
works perfectly on my local machine, but when it is
uploaded to the web server, it will lose the session
variable values when changing pages in the application.

What might be causing this? I've tried several things but
can't get any of them to work.
Nov 22 '05 #1
2 1078
That sounds very weird indeed. Can you post an example of the code that
sets the variables and where it the variables disappear? "jgants"
<an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
I am having a problem with a web application losing
session information when changing pages. The program
works perfectly on my local machine, but when it is
uploaded to the web server, it will lose the session
variable values when changing pages in the application.

What might be causing this? I've tried several things but
can't get any of them to work.

Nov 22 '05 #2
Joe
It's probably a cookies issue. You may have your browser (and/or privacy
service, such as found in ZoneAlarm Pro) set to allow cookies from your own
localhost machine, but not from other servers. Check to make sure that
session cookies are always allowed.

"jgants" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
I am having a problem with a web application losing
session information when changing pages. The program
works perfectly on my local machine, but when it is
uploaded to the web server, it will lose the session
variable values when changing pages in the application.

What might be causing this? I've tried several things but
can't get any of them to work.

Nov 22 '05 #3

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

Similar topics

8
by: Marc Hoeve | last post by:
Hi everybody I'm setting up 2 websites for a friend of mine, en I'm have problems with one of the sites. The situation: I have 2 different domains (both in the .NL domain). Both domains...
2
by: Jose Meireles | last post by:
Hi everyone, I'm trying to use public variables in a web form to hld specific values. What happens is that the public variables (declared as public x as y in the beginning of the class), doesn't...
4
by: Phil Grimpo | last post by:
I had previously explained this problem in a different thread, but now that I have an IISState log, I figured I'd re-start the thred. My situation and the log are following... I have a very odd...
4
by: Jack | last post by:
Hi, I have a checkbox the value which goes to a database via a asp page that builds the sql string. In the front end asp page, the checkbox code is written as follows: <i><input...
3
by: Rob | last post by:
I'm trying to use session variables to store datasets when moving from page to page (and returning). The datasets are small (I know some may comment on performance issues). It seems simple to use....
3
by: l-touched | last post by:
Hello, I am using authentication type = FORMS I need to use Session Variables for passing data between ASPX pages, but I have the following problem: If I call some page without doing...
4
by: - Steve - | last post by:
I have a cs file I use in an ASP.NET form. The class has several member variables. If I assign a value to those variables in a method, when I get to another method the variable no longer equals...
2
by: John Mullin | last post by:
We are having a problem which appears similar to a previous posting: http://groups.google.com/groups?hl=en&lr=&frame=right&th=d97f552e10f8c94c&seekm=OZw33z9EDHA.2312%40TK2MSFTNGP10.phx.gbl#link1 ...
9
by: jsale | last post by:
Hello, I am having a problem with multiple users using my asp.net application - namely that if each user clicks save at the same time, some, or all, of the users crash out. Do I need to do...
3
by: Efrain Flores | last post by:
Hi I am experimenting session problems in ASP.NET. I am developing a data entry system composed of 3 different aspx pages. The values entered on the form fields are stored in sesion variables....
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
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
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,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
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...

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.