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

Submit method / session timeout

Hello, this is kind of a javascript/.net question so I'm going to
post in both places.

In an app I'm trying to look at, there is a refresh of a page being
done ever 2 minutes. This is being done using the Submit method of
the form.

At a 30 minute interval however, there is a refresh of the page as
well (the only difference I'm being told is that this refresh pops up
a message box). This is being done inside .NET. This is timing out
because of the loss of the session (at 20 minutes).

What I'm curious about is if the submit method in java does a full
refresh of the page and so is the .NET, why does the 2 min interval
work (no matter how many times beyond the 20 minute default session
timeout) but the 30 min one doesn't? Does the submit method in java
behave differently?

May 7 '07 #1
2 2283
ASM
Doogie a écrit :
>
What I'm curious about is if the submit method in java does a full
refresh of the page and so is the .NET, why does the 2 min interval
work (no matter how many times beyond the 20 minute default session
timeout) but the 30 min one doesn't? Does the submit method in java
behave differently?
You mean JavaScript ?

on my idea :
on each JS 2 mn refreshing the .NET 30mn re-fresher re-starts from 0
so ...
never reaches the 30th mn ...
and ...
can't refresh
(and see if session doesn't re-start on each 2mn refresh)

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
May 7 '07 #2
Yep, I meant javascript, sorry.

The refresh does occur at the 2 minute interval. The 30 minute
refresh tries to occur, but fails because all my session information
has been lost (and I need data from within that session info). But if
I set that 30 minute refresh to be at 15 I don't lose my session info
ever. I'm just not sure why if that is the case that the 2 minute
refresh doesn't cause the same thing to happen other than the submit
method in javascript must behave differently.
May 7 '07 #3

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

Similar topics

4
by: Eric | last post by:
Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works fine, however, when the checkbox is only field...
0
by: Billy Boone | last post by:
I have a current web application that utilizes a login to authenticate users into the application. Once I authenticate them, I store away the user's name in a Session variable. I then utilize...
12
by: Geigho | last post by:
Setting session timeout in web.config file does not seem to have any effect. Any explanation or suggestion will be appreciated.
11
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
5
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
4
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
6
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
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,...
0
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...
0
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,...

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.