473,494 Members | 2,223 Online
Bytes | Software Development & Data Engineering Community
Create 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 1798
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@szabelin> 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
2934
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...
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...
1
2860
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...
1
1746
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)....
4
1548
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
2538
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...
6
3313
by: NH | last post by:
How can I warn a user that their session has expired when they click on a button etc?
2
3075
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...
2
1226
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...
0
7119
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
7195
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...
1
6873
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...
0
5453
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,...
0
4579
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...
0
3088
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...
0
1400
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
285
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...

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.