473,811 Members | 3,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

session expiring unexpectedly

Hi,

I have an asp.net app. The session state is set to expire in 20 minutes in
web.config, but my sessions seem to timeout randomly even though I interact
with the application regularly, which is supposed to reset the expiration
time I believe. Is there a specific way that you have to start a session or
interact with it in order to keep your session current?

Thanks,
Christine
Nov 18 '05 #1
1 1633
Hi hch_nguyen,

Check to see if your application is getting restarted.

Regards
Ashish M Bhonkiya

"hch_nguyen " <hc********@del ete-this-part-hotmail.com> wrote in message
news:uU******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

I have an asp.net app. The session state is set to expire in 20 minutes in
web.config, but my sessions seem to timeout randomly even though I interact with the application regularly, which is supposed to reset the expiration
time I believe. Is there a specific way that you have to start a session or interact with it in order to keep your session current?

Thanks,
Christine

Nov 18 '05 #2

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

Similar topics

1
1962
by: opt_inf_env | last post by:
Hello, I have a page such that each user can see only a corresponding (personal) part of the page. In the beginning I wanted to perform initialization of users (by asking there names and passwords and comparing them with names and passwords stored in database), than I planed (if comparison was successful) to set a corresponding value of variable $user_name and on the mentioned page with the help of the "if"-operator to check whether...
2
1999
by: Newbie | last post by:
Hi All, I would really appreciate any ideas / clues on this issue which I am facing. I have a asp.net application, the problem is with maintaining session variables while using authentication for different users. My users are divided in groups , and have a username and pwd to login. Now if suppose while browsing through different pages, the session expires unexpectedly, then also I need the user to keep working with the app. This sometimes...
3
1585
by: Matt Mercer | last post by:
Hi all, I have read much about session variables and the pros and cons. I want to post my use and get opinions. When a user logs into my site various fields are pulled from a SQL user table. I store the user's name, ID, country, region, site code, and access level in session variables. I use this information to decide what fields the user can see, what he
6
1753
by: GP | last post by:
We get " Object reference not set to an instance of an object. " error in all the links whenever the browser is not used for more than 5 minutes. In IIS 5.0 version we are setting the session time out to 60 minutes. Please let me the know solution if any knows the answer. Thanks GP
1
1648
by: ACaunter | last post by:
Hi all when i log onto my asp.net website through a browser , the session variables are expiring way too quickly. if i leave the screen for only a minute, everything is gone. it seems like some pages are worse than others... the session timeout is set to 20mins, but still they are expiring after only a minute... what should i do?? --
5
1878
by: jensen bredal | last post by:
I need to keep track on user "session data" while still turning session off as i do not want users login to expire? Thanks JB
3
3317
by: bennett | last post by:
In the web.config file for my application, in the <sessionState> section I have set timeout="120" (in minutes), but session state variables in my application seem to be expiring in about 5 minutes. Any idea what could cause this? I have the mode="InProc" attribute set for <sessionState>. I know that some people have solved the problem of session variables timing out too quickly by changing that attribute, but I cannot use...
3
1673
by: renjucool | last post by:
I am developing an online bug tracking system in asp.net.IT is implemented now in our office,at a time around 10-15 peoples are using.Web application is hosted in a local machine(core 2duo-1 gb ram).My problem is when some user submit a bug his session is expiring and redirecting to home page.my code is ----------------------------------------------------------------------------------------------------------------- protected void...
1
1309
by: csgraham74 | last post by:
Hi Guys, Im currently going round in circles with a session state issue on an asp.net vb application. Basically session state is constantly expiring after about a few clicks through my website in IE7- the funny thing is that i have just tried it in firfox and everything is working fine and session state is not expiring.
0
9731
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
9605
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
10651
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10405
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
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6893
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();...
0
5556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
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.