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

about expiration variable session

oranoos3000
107 100+
hi
do variable session expire after specific time from opening page?
if answer yes ?how much is this time?
else
if variable session is set on server no expiration automatically
how do expire this variable after specific time?
do variable session expire with closing page that
session in that page is set?
thanks alot
Jan 24 '09 #1
1 1826
Dormilich
8,658 Expert Mod 8TB
@oranoos3000
unless set otherwise, yes. depends on the server setting.

@oranoos3000
usually there is automatic expiration, changing the server settings is impossible with Javascript. although you can delete the session cookie.

@oranoos3000
no (that's why sessions were invented—keeping variables (such as login status) across pages)
Jan 24 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Christophe Lance | last post by:
Hello, I use PHP session cookie to store an id number. I know how to set a cookie expiration date using the setcookie function, but how to set an expiration date when the cookie is created by...
3
by: windandwaves | last post by:
Hi Folk I have a site where I set a session cookie that expires in 1000 days. As part of my script,. I create a $_SESSION. Now, I am wondering, if the user closes their browser window and,...
2
by: FreeTheCode | last post by:
it seems that a session in asp.net sometimes expires before its time is supposed to expire? so for example i developed a client side that relies on a if Session("Var") > 0 then else end if ...
1
by: Do | last post by:
Hi, What's the default expiration for forms authentication? If I hit refresh, will i get redirected to a login page(if the time has expired)? Thanks, Do
3
by: naijacoder naijacoder | last post by:
what i need i think its a session timeouts. Which i'm using like:- <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data...
3
by: Brian Henry | last post by:
Is there anyway to when the users loggin session expires (we have it set to expire after 15minutes of no usage) show a "session expired" message page when they try to navigate the site after it did?
2
by: Kikoz | last post by:
Hi all. I keep my ViewState in server's cache. Works fine except when user leaves the page opened for a long time (2 hours or so). Then if he/she tries to post it back the server throws an...
18
by: Rippo | last post by:
Hi I am using role base forms authentication in asp.net and have come across a problem that I would like advice on. On a successful login a session variable is set to identify a user. This is...
2
by: Jeff Bowman | last post by:
Here's the code: Private Sub SetCookie(ByVal tcEmail As String) Dim loCookie As New HttpCookie("Email") loCookie.Value = Utils.StringToBase64(tcEmail) loCookie.Expires = Now.AddYears(10)...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.