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

Session restarting for every page

GD
I have an ASP .Net 1.1 app where I am trying to store some values in a
session object. The problem I am encountering is that the Session appears to
restart for every page loaded and also for every page refresh.

I have enableSessionState="true" set in the page directive of each of the
pages affected and the web.config file has the following entry

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

I also have an issue with Cookies in that they refuse to be saved (yes, the
expiry date is being set). I was under the impression that it could be
Internet Explorer's cookie settings but even if I allow all cookies from all
sites the problem persists.

Can anyone point me in the right direction please ?

Thanks

Gary Dunne
Jan 9 '07 #1
2 1125
try deleting all your cookies (in IE).

-- bruce (sqlwork.com)

GD wrote:
I have an ASP .Net 1.1 app where I am trying to store some values in a
session object. The problem I am encountering is that the Session appears to
restart for every page loaded and also for every page refresh.

I have enableSessionState="true" set in the page directive of each of the
pages affected and the web.config file has the following entry

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

I also have an issue with Cookies in that they refuse to be saved (yes, the
expiry date is being set). I was under the impression that it could be
Internet Explorer's cookie settings but even if I allow all cookies from all
sites the problem persists.

Can anyone point me in the right direction please ?

Thanks

Gary Dunne

Jan 10 '07 #2
GD
Thanks but .... problem solved .... Zonealarm was running, just turned if
off and everything is fine now.

Gary

"bruce barker" <no****@nospam.comwrote in message
news:Og**************@TK2MSFTNGP02.phx.gbl...
try deleting all your cookies (in IE).

-- bruce (sqlwork.com)

Jan 10 '07 #3

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

Similar topics

3
by: Martin | last post by:
Hi all As my posting title suggests I'm having problems using InProc Session state in my ASP .NET app. I wrote a site for a friend which uses ADO .NET to keep track of a simple...
5
by: ASP.Confused | last post by:
As you can tell from my previous posts on this issue...I'm really confused :-/ I have a few ASP.NET web applications on my web host's "https" server. Our web host has a single "bin" folder for...
4
by: Chris | last post by:
When a request comes into a page on my ASP.net site and a session is not found, I want to detect whether the request is an initial request or if the user did have a session going that has now been...
3
by: UJ | last post by:
How do you detect when your session is going to timeout and display a message saying 'unless you do something you will be logged out' much the way bank web pages do? Can you do it for the site...
1
by: kbrandl | last post by:
I am using InProc, Cookieless Session State in my ASP.NET application -- like this: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data...
7
by: Erik | last post by:
I have an application that uses sessions variables a lot but one I publish the application on the prod server these variables are lost. The application is written i c# 2.0 and I've set the...
2
by: deisner | last post by:
All- I have a Framework 2.0 application running under Windows 2003 Server and IIS utilizing the default application pool. On my development machine (XP w/ IIS 5.1) the code runs perfectly. But...
1
by: Bahman | last post by:
Hello! when the session expires and the session variables start having null, i am supposed to abandon the session and redirect back, so a new session is started. it doesn't work. the...
5
by: jjw | last post by:
I have a website that requires users to login. We track them by using sessions. We record the time and date that they login, their session id, the last page they visited, etc in a database. As...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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
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...

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.