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

session expires

271 100+
i have used session in my web page. i have set the time out property to 20 in the web.config file. my problem is that my session gets expired even at the time of working. my web.config file settings is given below
Expand|Select|Wrap|Line Numbers
  1. [size=2][color=#0000ff]<[/color][/size][size=2][color=#800000]sessionState[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]mode[/color][/size][size=2][color=#0000ff]="InProc"[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]stateConnectionString[/color][/size][size=2][color=#0000ff]="tcpip=127.0.0.1:42424"[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]sqlConnectionString[/color][/size][size=2][color=#0000ff]="data source=127.0.0.1;Trusted_Connection=yes"[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]cookieless[/color][/size][size=2][color=#0000ff]="false"[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]timeout[/color][/size][size=2][color=#0000ff]="20"/>
  2.  
  3. [/color][/size]
even i tried it increasing to a value of 80. but nothing helped me.
can u tell how can i solve this problem.

what is the maximum value that i can give for this session time out. how to make the session not to get expired at the time of usage and it should expire only when the page remains ideal for that duration.

thanks,
Feb 7 '07 #1
6 1352
kenobewan
4,871 Expert 4TB
The timeout value is in minutes, so whether you set it to 20 or 80 you still have a problem...
Feb 7 '07 #2
karthi84
271 100+
The timeout value is in minutes, so whether you set it to 20 or 80 you still have a problem...
my problem is my session expires before the set time even if i am working on it. how to solve this problem.
Feb 7 '07 #3
kenobewan
4,871 Expert 4TB
If you rely on cookies for your session are they being blocked?
Feb 7 '07 #4
Frinavale
9,735 Expert Mod 8TB
Are you by any chance redirecting or transferring the user during the time the session variable is in use?
Feb 7 '07 #5
karthi84
271 100+
Are you by any chance redirecting or transferring the user during the time the session variable is in use?
no the users are not being transfered
Feb 8 '07 #6
karthi84
271 100+
If you rely on cookies for your session are they being blocked?

no the cookies are not blocked
Feb 8 '07 #7

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

Similar topics

3
by: PM | last post by:
I'm trying to make a kind of search history containing the 3 last searched words. So I'm using 3 Session Variables: Word1 / Word2 / Word3. In order to get this history working, I need to put the...
12
by: chrism | last post by:
Hello, I have a pop-up window that I would like to appear in front of the browser home page when a user opens IE. Problem is, I'd like it to never appear again if the user navigates back to the...
1
by: Jenn | last post by:
I have done alot of web work in all sorts of languages but I have never used the simple cookie. Question is How does one set and retrieve a simple session cookie. All it will do is have an image...
11
by: Jennifer | last post by:
Is there a way to check for to see if the user has session cookies enabled? I know how to check to see if they have cookies in general enabled, but how do you test for just session cookies? ...
3
by: Enoch Chan | last post by:
I would like to set a Session variable to a value. In Vbscript it should be Session("ZoomValue")=500 How can I set this session variable by using Javascript? Thanks
12
by: ACaunter | last post by:
Hi all, I was wondering how i could write some code which would automatically open the Login Page once the session has expired? -- AdamPC@hotmail.com
14
by: Martin Walke | last post by:
Hi all, Is there any limit to the number of session variables a site can have? And is that affected by global.asa at all? The reason why i ask is that i have a relatively simple site that...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
4
by: rgparkins | last post by:
Hello I am running out of time with a problem I have running PHP 5.04 and Apache 2.0 and really need help :(. I have a page that stores a variable in session but each time I reload that page the...
0
by: Aarchaic | last post by:
Hello i have problem my session variables seem to disapear as i go along i've created this code to ilustrate whats happening First off i just post 3 detials like a name a age and a favourite...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.