473,804 Members | 3,638 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I keep a session alive while...


I will be posting information to another application from my applicatio
and redirecting to that application which will load into anothe
iteration of IE. The user may spend a significant amount of tim
working in that application. I need to keep my session alive whil
there is activity in the other application as that application will b
sending me return data when its processing is complete. Is there a wa
to keep my session active while the other application session remain
active? Can I reset my applications session.timeout value or is ther
some other way to do this? I would prefer not to have to switch focu
back and forth between my app and the other to maintain seamles
processing.

Also, if the other application session times out I would like to end m
session as well.

TIA,

Te

--
twscot
-----------------------------------------------------------------------
twscott's Profile: http://www.highdots.com/forums/member.php?userid=32
View this thread: http://www.highdots.com/forums/showthread.php?t=154629

Nov 19 '05 #1
1 2857
A session times out if the browser hasn't interacted with the server for
20 mins (default).

So what you need to do is let the browser show some activity. Put this on
the page

<meta http-equiv="refresh" content="600">

Where 600 means 600 seconds. This way the page will refresh every 10 mins.
Also, if the other application session times out I would like to end
my session as well.
There is no easy way to do this but I wouldnt invest time in accompolishing
this.
I see no need for it. Just let them timeout.
Cheers,
Tom Pester
I will be posting information to another application from my
application
and redirecting to that application which will load into another
iteration of IE. The user may spend a significant amount of time
working in that application. I need to keep my session alive while
there is activity in the other application as that application will be
sending me return data when its processing is complete. Is there a way
to keep my session active while the other application session remains
active? Can I reset my applications session.timeout value or is there
some other way to do this? I would prefer not to have to switch focus
back and forth between my app and the other to maintain seamless
processing.
Also, if the other application session times out I would like to end
my session as well.

TIA,

Ted

Nov 19 '05 #2

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

Similar topics

27
7135
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate a user from information you got from the session. Each secure app on a site must challenge the user for name and password, each and every time the user accesses it (not just once and then store it in the session). If a secure app is multi-page,...
1
14969
by: Jason | last post by:
I've got a standard form on an ASP page to collect resumes from visitors. The page can be accessed only after the visitor has logged into the site. The issue that I'm running into is that the users are exceeding the length of the session timeout, so when they submit the form, it is taking them back to the login page instead of submitting the form. The solution I am trying (extending timeout session is not an option due to the heavy load...
1
1867
by: cppdev | last post by:
Hello, After reading a few articles, http://blogs.gotdotnet.com/cbrumme/PermaLink.aspx/e55664b4-6471-48b9-b360-f0fa27ab6cc0 http://blogs.gotdotnet.com/anathan/commentview.aspx/8ec0b7b2-6290-4500-a8c7-1b6c677214cb i have the following question: __gc class C {
3
2126
by: Arnost Sobota | last post by:
Dear ASP community, I have a question regarding ASP session variables. My assumption was that a session variable has the same lifetime as the session itself: as a consequence, given that closing the browser doesn't terminate the session, the session variable is kept alive until the session expires. But, surprisingly, I've found this to be true for the session variables
5
3699
by: Logu Krishnan | last post by:
Hi I'm trying to profile my application and do sizing of the app. is there a way to size the session ?? -- Logu Krishnan
7
7228
by: mail747097 | last post by:
I would like to keep IIS alive on my web site and prevent Application_End from occuring in global.asax. Any ideas?
6
5682
by: laredotornado | last post by:
Hi, When a user logs into our site, we create a session variable to denote the session is active and another to denote who is logged in. Once the user closes the browser and re-opens it, the session is destroyed and the variables are gone. How can I keep the session alive for 24 hours even if the user closes and re-opens the browser?
0
1511
by: Ramchandar | last post by:
In my aspx page i want the lot of informations to be filled by the user. But wen the user takes some break to fill the form n resumes after some time the page gets expired. So to keep the session alive i used the following javascript code but it didnt work. function KeepMeAlive() { var myImg; myImg =document.getElementById('keepAliveIMG'); if (myImg) myImg.src =...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10575
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10330
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10319
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9144
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7616
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2990
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.