Application Inactivity - Timeout
Hi - I have an application that uses Web Services. I want the UI to be redirected to a Login Page if there is no actvity on the screen for a specific period of time. Please help
Hi - I have an application that uses Web Services. I want the UI to be redirected to a Login Page if there is no actvity on the screen for a specific period of time. Please help
Similar Messages
-
Inactivity timeout for TestStand user credentials
Hello all,
I'm curious if anyone has done any work on inactivity timeouts for TestStand user credentials; I am looking for some solution that will allow windows to lock, but if i have a test running and I walk away, my credentials will lock after the test has finished. Anyone have any ideas on where I can start some research into this?
-Bill
John 3:16Hi Bill,
In order to programmatically log out of TestStand, you first have to programmatically shut down the TestStand Engine. To execute the FrontEnd Callback to log out of TestStand, you will have to create a Property Object to pass to the LoginLogout Callback.
Locals.PropObj = RunState.Engine.NewPropertyObject(PropValType_Container,False,"",0),
Locals.PropObj.AsPropertyObject.SetValBoolean ("logoutOnly", PropOption_InsertIfMissing, True),
Locals.PropObj.AsPropertyObject.SetValBoolean ("isInitialLogin", PropOption_InsertIfMissing, False),
RunState.Engine.CallFrontEndCallbackEx("LoginLogout",Locals.PropObj.AsPropertyObject,ConflictHandler_Prompt,0)
You will also have to develop a code module to poll for UI messages after calling the first Shutdown sequence.
Are you intending to run a test, walk away, and come back hours later to a completed test and TestStand idle? Or are you wanting to abort an abandoned test and reset to the initial login screen? This is going to be a fairly complex implementation, so I'm trying to make sure of your intentions.
Regards,
Alexandra
National Instruments
Applications Engineer -
SQL Server 2014 Always on HA takes 8-14 seconds to fail over. Application side timeouts occur
Hi All,
I have a very similar post in the SQL Server 2014 forums too (https://social.technet.microsoft.com/Forums/sqlserver/en-US/adb5e338-907e-4405-aa62-d3ea93c7a98a/sql-server-2014-always-on-ha-takes-814-seconds-to-fail-over-application-side-timeouts-occur?forum=sqldisasterrecovery) -
advice in the end was to post a question here.
SQL Server Nodes, 2014 (12.0.2480.0)
1 Share witness (on separate subnet)
1 Cluster
1 Listener
I have been testing the response time to failovers – both manual (right-click, fail over in SSMS) and Automatic (shut down the primary host). The way I am testing response is to have a SSMS query running on my desktop, connected to the listener querying
a small table and hit execute.
The Query response time, from execute to receiving the result, has been between 8 and 14 seconds based on my testing. My previous experience (in a separate environment) showed around 2 second fail over times in a very similar configuration.
Availability DB is 200Mb and is not actively used. The nodes are synchronised.
SQL Server Hosts: Windows 2012, 2 cpu, 8gb RAM.
Questions:
1: It’s a big question but what should I expect for a ‘normal’ fail over time. Keep in mind this scenario is about as simple as it gets.
2: As it stands an 8 to 14 second ‘outage’ could cause some applications to time out. Or am I being un-reasonable? I am seeing the very simple query in SSMS to time out with this:
Msg 983, Level 14, State 1, Line 2
Unable to access availability database 'DATABASE' because the database replica is not in the PRIMARY or SECONDARY role. Connections to
an availability database is permitted only when the database replica is in the PRIMARY or SECONDARY role. Try the operation again later.
Cluster logs are long - this section accounts for 8 seconds of the 11 second outage I experienced. I can supply the full log if required. Also this log is just the 2 cluster nodes, I removed the witness share to make sure it was as simple as possible.
00001090.00002128::2015/02/25-03:05:08.255 INFO [GEM] Node 2: Deleting [1:65 , 1:71] (both included) as it has been ack'd by every node
00001ee4.00002130::2015/02/25-03:05:10.107 INFO [RES] Network Name: Agent: Sending request Netname/RecheckConfig to NN:5b81e7bd-58fe-4be9-a68a-c48ba2aa552b:Netbios
00001090.00002128::2015/02/25-03:05:11.888 INFO [GEM] Node 2: Deleting [1:72 , 1:73] (both included) as it has been ack'd by every node
00001090.00002698::2015/02/25-03:05:11.889 INFO [GUM] Node 2: Processing RequestLock 2:49
00001090.00002128::2015/02/25-03:05:11.890 INFO [GUM] Node 2: Processing GrantLock to 2 (sent by 1 gumid: 67)
00001090.00002698::2015/02/25-03:05:11.890 INFO [GUM] Node 2: executing request locally, gumId:68, my action: /dm/update, # of updates: 1
00001090.00002128::2015/02/25-03:05:12.890 INFO [GEM] Node 2: Deleting [1:74 , 1:74] (both included) as it has been ack'd by every node
00001ee4.00002130::2015/02/25-03:05:15.107 INFO [RES] Network Name: Agent: Sending request Netname/RecheckConfig to NN:5b81e7bd-58fe-4be9-a68a-c48ba2aa552b:Netbios
00001090.00002128::2015/02/25-03:05:16.988 INFO [GUM] Node 2: Processing RequestLock 1:28
Thanks in advance.
KeeganHi Keegan,
From these event log , what I can see is "Sending request Netname" wasted the time .
Could you please tell us the network configuration of that cluster nodes ?
If I recall correctly , it is recommended to only remain Tcp/IP protocol and disable NetBIOS over TCP/IP for "Private Network" , also do not configure DNS/Wins default gateway for "Private Network" :
https://support.microsoft.com/kb/258750?wa=wsignin1.0
After that please test again .
Best Regards,
Elton JI
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
TCP connection inactivity timeout
Is it true that the ACE module has an tcp inactivity timeout of 3600 seconds (1 hour)?
Yes, it is true. These are the default values:
Parameter-map : new
Description : -
Type : connection
nagle : disabled
slow start : disabled
buffer-share size : 32768
inactivity timeout (seconds) : TCP: 3600, UDP: 120, ICMP: 2===================HERE IT IS
embryonic timeout (seconds) : 5
ack-delay (milliseconds) : 200
WAN Optimization RTT (milliseconds): 65535
half-closed timeout (seconds) : 3600
TOS rewrite : disabled
syn retry count : 4
TCP MSS min : 0
TCP MSS max : 1460
tcp-options drop range : 0-0
tcp-options allow range : 0-0
tcp-options clear range : 1-255
selective-ack : clear
timestamp : clear
window-scale : clear
window-scale factor : 0
reserved-bits : allow
random-seq-num : enabled
SYN data : allow
exceed-mss : drop
urgent-flag : allow
conn-rate-limit : disabled
bandwidth-rate-limit : disabled -
We are trying to run incremental backups
of 400 GB database (using RMAN/Legato)
and they complete with error. I traced to problem to the following message that appears in /nsr/logs/messages
<Date> <NetWorker Server> NetWorker media: (notice) Save set (nnnnn) <NetWorker Client>
<Save Set Name> volume ##### on \\.\Tape1 is
being terminated because: inactivity timeout.
NetWorker Help gives following definition of
inactivity timeouts:
"The number of minutes of inactivity before the group of saves concludes that a client is (presumably) permanently hung. A value of zero indicates that no inactivity checking is done."
As we are running incremental backups and only a small percentage of the database is updated between backups some inactivity periods are expected, although I thought
RMAN still backs up at least one block per datafile.
The value was set to 30 min. I tried to increase it to 1000 (maximum available value)
and to disable inactivity checks by setting it to 0. It did not help. Finally, I resorted to creating a small dummy table in each tablespace of the database (almost all tablespaces have only one datafile). It looks like this approach worked - the backup completed OK for the first time in many days.
I realize that this is Legato problem, but because so many people use RMAN with Legato and do incremental backups, I felt it is appropriate to post here.
Questions:
1. Have anyone had a similar experience?
2. Does Oracle backup at least one block per datafile in incremental backups?
Regards,
Sev
[email protected]
nullWe also hit an Inactivity Timeout in conjunction with RMAN and Legato BSM for Oracle Unix:
Although we're using Oracle 8 Standard which does not support incremental backups.
It seems to us, that the inactivity detection mechanism somehow does not work with the RMAN backups, because any backup ("backup database" or "backup archivelog all") was cought by an inactivity timeout, if the duration exceeded the number of minutes configured in the inactivity timeout. (Even happened during backing up of archived logs for more than 30 minutes, with inactivity timeout set to 30)
In our case the stream of data should not be idle for more than a very few minutes, cause we're not doing incremental backups.
Would be interested to hear what the Legato people say about this, also why setting IT to zero did not turn it off.
bye
Marc
Oracle 8.0.6 on Solaris 7
Legato Networker 5.5.1 with BSM for Oracle 2.1.2
null -
I am looking to change the inactivity timeout using a parameter map. Was planning to apply policy-map for this globally and was wondering if I would affect existing connections or does it only apply to new connections??
-LloydHi Andrew,
By default, the inactivity timeout value is 5 minutes. You can modify the length
of time that can occur before the ACE automatically logs off an inactive user by
using the login timeout command in configuration mode. This command
specifies the length of time that a user session can be idle before the ACE
terminates the console, Telnet, or SSH session.
Note The login timeout command setting overrides the terminal session-timeout
setting (see the âConfiguring Terminal Display Attributesâ section).
The syntax for the login timeout command is as follows:
login timeout minutes
The minutes argument specifies the length of time that a user can be idle before
the ACE terminates the session. Valid entries are from 0 to 60 minutes. A value
of 0 instructs the ACE never to timeout. The default is 5 minutes.
For example, to specify a timeout period of 10 minutes, enter the following
command:
host1/Admin(config)# login timeout 10
To restore the default timeout value of 5 minutes, enter the following command.
host1/Admin(config)# no login timeout
To display the configured login time value, use the show login timeout command
in Exec mode. For example, enter the following command:
host1/Admin# show login timeout
Login Timeout 10 minutes.
Kindly refer the following url:
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/command/reference/parammap.html#wpmkr1118938 -
Is there a way to set the SAP gui inactivity timeout for a specific user or group of users?
Hi Chris,
Note <a href="http://service.sap.com/sap/support/notes/27320">27320</a> has descriptions about rdisp/keepalive and rdisp/gui_auto_logout, are you looking for something else in this case?
Regards, Mark -
Discoverer Plus and the SSO GUIT (Global User Inactivity Timeout)
Does Discoverer Plus obey the Global User Inactivity Timeout?
We've enabled SSO for Discoverer Plus and Viewer (v. 9.0.4.45.02), and we've
configured the Global User Inactivity Timeout. For testing, we set GUIT to 5 minutes.
When we re-activate a Viewer session after more than 5 minutes of no activity,
we're prompted for our SSO username/password, as expected.
If we leave a Plus session inactive for more than 5 minutes, we are not prompted for our SSO username/password.
If we leave a Plus session inactive for 30 minutes, a pop-up appears warning us
that Plus will exit if we don't take some action. This pop-up is driven by the fact that we set Timeout to 30 minutes in the pref.txt file. Plus behaved this way before we enabled it for SSO.
We thought that Plus and Viewer are both governed by GUIT in the SSO environment. Are we wrong about that?Yes, i am having the same problem with the Timeout. No matter what i have the timeout set to, the portal never redirects to the login, the users stay logged in indefinitely. We are running 10gAS (10.1.2). I have a feeling it has something to do with the cookie not being properly set. If ANYONE has any experience with this please reply. thanks so much
Steve -
DPS 6.2, w2k3, fills logfile when disabling monitoring-inactivity-timeout
When disabling the setting "Poll Unused Connections to Keep them Active" using DSCC the value for
connectionInactivityTimeoutInSec / monitoring-inactivity-timeout will be set to -1 in the configuration file.
This causes the LDAP Proxy Server to continuously log the line:
BACKEND - WARN - Activity on connections for LDAP server x.x.x.x:389/ takes longer than configured.is there any option to disable the whole "poll" feature?
thanks
.andiHi andi,
I cannot reproduce this problem but if -1 value causes the problem, you can either manually remove the connectionInactivityTimeoutInSec:-1 line from the configuration file and restart the proxy or use dpconf set-ldap-data-source-prop monitoring-inactivity-timeout w/o specifying any value (this should remove the attr).
-Sylvain -
Alright, so 1.1.0 gave us lots of great EAS security policy support including Inactivity Timeout:
Inactivity timeout. IT administrators can ensure that an inactive phone goes into a locked state after a certain time period. You cannot set a higher timeout interval for your phone, but you can set a shorter interval.
Okay, so where do we set this value on the phone? Right now every single time I slide my phone open or press the power key I have to enter my password to unlock the phone. My company's security has the inactivity timeout set to 8 hours on the exchange server. Any help would be great, we have high security passwords (lots of characters, numbers, special chars, etc) and I hate having to enter it just to repond to a text message or something trivial and not business related.
Any help would be appreciated. Thanks!
Post relates to: Pre p100eww (Sprint)The user manual suggests it is linked to the screen timeout, which for reasons of battery life, usually would be way less than 8 hours.
The screen locks five seconds after it turns off automatically, or immediately if you turn the screen off manually. Use Secure Unlock if you want to require a PIN or a password to unlock the screen.
Don't know whether there is a way to decouple these time intervals.
(Also, I was looking at the original user guide, which may not match the updated OS.)
Message Edited by Jeffro on 07-29-2009 03:28 PM -
OracleConnectionCacheImpl inactivity timeout bug?
Hi,
We are trying to use the OracleConnectionCacheImpl class with the thin driver to an Oracle 9i (rel 2) DB. However the settings we use for the inactivity timeout (calling setCacheInactivityTimeout(timeoutSeconds)) appears to bear no resemblance to reality.
Has anyone had experience with the timeout? Is there a bug? A workaround? Alternative implementations?
I am considering going to the Apache DBCP implementation if this turns out to be a bug.
Thanks,
Peter MillerDid the inactivity timeout setting of "1" time out the connection after one second? It was more like 6 minutes for us, but seems to be non-deterministic.
Regards,
Peter Miller -
how can i set the global inactivity timeout for different domains because our clients are located in different domains
thanks
mish".com"
-
Hi -
I would like to request your help regarding the following topic:
I'm trying to find the inactivity timeout parameter for SAP Portal. We will like to update this parameter to 15min, which means that after 15min of inactivity the system will request the user sign in again. Thank you for your help or any material you guys understand will be helpful.Hi,
Page Editor -> Pagetimeout property.
Check this out :
http://help.sap.com/saphelp_nw70/helpdata/en/b4/12083e7623445ae10000000a11405a/content.htm
Regards,
Zaheer -
Hello all,
I have a web site runnin on FC5 with Tomcat.
Everything was working fine until now.
From one <form> I call a servlet and get the following error message:
Inactivity Timeout
Description: Too much time has passed without sending any data for document http://www.MyDomainName.net/WEB/PostIt.
what is wrong?
Thank you.Hi,
thanks for getting back.
Before posting any code I am trying to find out if the problem in the code itself or not.
I have html page with <form> tag. This form calls a servlet which connects to a database and sends out an email.
when I click a button (call the servlet) it hangs for some time and then I get the following error message:
Inactivity Timeout
Description: Too much time has passed without sending any data for document http://www.MyDomainName.net/WEB/PostIt -
Does ACE send a RST packet when it reach inactivity timeout?
Hi experts
I have some questions about ace's behavier.
1st one is, Does ACE send a RST packet when it reach to inactivity timeout?
2nd, Does half-closed timeout works properly with "no normalization"?
3rd, How does ACE treat the packets there is no flows in conn table? Drop or forwarding?
ThanksHi Kilsoo,
1st one is, Does ACE send a RST packet when it reach to inactivity timeout?
----yes, the ACE is going to send a RST if the client or server tries to do something over a connection that was already timed out
3rd, How does ACE treat the packets there is no flows in conn table? Drop or forwarding?
drops the connection
Let me do some research for your second question
Cesar R
ANS Team
Maybe you are looking for
-
Authentication and Authorization? Help
I have jave client, is writing in JAXR, who is connecting to Microsoft UDDI. The UDDI is installed in virtual server which has windows Server 2003. The UDDI Authentication has the same windows Authentication. he is not working . Here is some line of
-
Itunes is currently unavailable
My Apple TV 3 has been playing up for a few days, possibly since the latest update - not sure. Basically, i can no longer play any purchased TV/movies or iTunes Match music via the Apple TV (still fine via my other Apple devices - Mac, iPad 2, iPhone
-
OBIEE 11g - usins Query as column
hi all, I have a requirement to convert this SQL as a column value in OBIEE level select count(*) from ( SELECT SUM(quantity),SUM(quantity_received),po_header_id FROM F_ERP_PO group by po_header_id having SUM(quantity) = SUM(quantity_received)) as a
-
How do I find out when a I calendar event was declined by it invitee?
How do I find out the date and time a I calendar events invitation was declined?
-
Initialize method in JAAS login module
Hi All, In my JAAS login module (extended AbstractLoginModule) deployed on WAS 6.40 (sneak preview) my initialize method is being called for every browser session. I have added some logging in the login module contructor, even that is being called fo