473,549 Members | 2,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

session expired?

Hello - (1) is there a way to check that session has
expired? (2) My session timeout is set to 20 minutes, but
I can leave the client overnight and my session is still
on next morning- so when will it expire?

Thanks
Nov 17 '05 #1
1 1807
hello

Actually the session does expire, but then next morning whtn the client make
a request, a new session is created for him.
To check for session expiry you can set some session variable to some value,
when the client logs on for example. You can test the value of this session
variable in later requests, if it is null then the session has expired.

Best Reards
Sherif

"szabelin" <szabelin@szabe lin> wrote in message
news:0a******** *************** *****@phx.gbl.. .
Hello - (1) is there a way to check that session has
expired? (2) My session timeout is set to 20 minutes, but
I can leave the client overnight and my session is still
on next morning- so when will it expire?

Thanks

Nov 17 '05 #2

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

Similar topics

1
2938
by: Lenny | last post by:
I have application that uses session variables to preserve data between calls Session expiration time is set to 20 min. Sometimes my users getting error 'Session Expired' even right after they log in to application! Any ideas how to get around this issue?
0
312
by: uni | last post by:
Hi, We are running asp.net application. Previously, there's no any other problem, but recently, the session expired error bumps out frequently like 10 minutes a time or so. The session timeout setting in the web.config is 1440. according to the memory utilization, I thought it's the memory limit, even I changed the memoryLimit setting in...
1
2865
by: lsf_80 | last post by:
I am using Session to capture my login name and this session is checking on every page that required login. However, there is a problem that the session is expired too fast! When i jump to another windows, then go back to the page that i have developed, the user is required to login again even less than 5 minutes. Thus, how can i solve this...
1
1749
by: Galore | last post by:
Hello, Guys, how can I determine the kind of exception is thown when the I try to access the Session object when it has expired. I need to write code that handles it (show a custom error page). When another exception happens, such as oledbexception, I'll use another custom error page, definied in my web.config. I'll use the...
4
1549
by: Peter Smith | last post by:
Will the below statement returns TRUE or FALSE iif the session is expired? (Request.UrlReferrer) Is Nothing I am using ASP.Net 1.1 and IIS 5.0. Thanks, Smith
1
2548
by: net4matrimonials | last post by:
I m using session veriables of asp.net on two websites www.net4professionals.com(job site) and www.net4matrimonials.com (bride/groom service) when i create a session on page A i use codeing session.timeout=180 session("name")="xyz" response.redirect("myaccountpage.aspx") on page B to access session variable i use
6
3323
by: NH | last post by:
How can I warn a user that their session has expired when they click on a button etc?
2
3079
by: fijsolam1981 | last post by:
Hi, I had created a web application where Session expiry was set to 2,000 minutes in IIS. in web config i had given like this <sessionState timeout="2,000" mode="InProc"></sessionStatebut MY web application was left logged in at 18:00 15th Oct, but on the following day 08:30 16th Oct, the session expired as soon as MY web application was...
2
1230
KalariaNitya
by: KalariaNitya | last post by:
hi to all, i have index.aspx form as main form..on that form one button GO which redirect to gallary.aspx form.. if i m doing nothing upto one or even less then one minute session goes expired and again back to ndex form.. i am not using global.asax form.. even i put
0
7472
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...
0
7743
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. ...
0
7986
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...
1
7504
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...
0
7832
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...
1
5391
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...
0
5114
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...
0
3518
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...
0
3499
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.