Questions tagged as 'timeout'

3
answers

What can cause file_get_contents to give a "timeout" error?

I asked this question here , but hardly, for being a problem that seems to be specific, the solution would be something that would be something generic. But it occurred to me in this question that I asked is that I'm having problems with the...
asked by 13.01.2017 / 12:26
2
answers

Show session time remaining

I'm working with JSP and Servlet. I want to display on the jsp page the time remaining to expire the session I set in my web.xml: <session-config> <session-timeout>30</session-timeout> </session-config> Has anyon...
asked by 04.02.2015 / 20:38
1
answer

How to hide a div with timeout in AngularJS?

I'm new to AngularJS and I'm picking up simple solving problems. I have my controller mainAppControllers.controller('NomeCtrl', ['myservice','$rootScope','$scope', '$routeParams', '$location','$timeout', function(myservice,$rootScope ,...
asked by 27.01.2015 / 21:44
1
answer

Set timeout on thread execution and save return value

Hello, I have a web service, with a backend in java 7. At some point, the backend makes an RPC call in broadcast to N servers that are listening. But there is no pre-defined timeout on the call, I have no way to control the response time of...
asked by 12.10.2017 / 00:04
1
answer

Function does not execute without setTimeout

I'm having a problem executing a function when I click on icheck . In case, the function is only called if I give a setTimeout of 1 millisecond, less than that or without timeout the function is not executed. How can I do to...
asked by 06.07.2016 / 23:04
1
answer

Is there a way to remove time out? PHP

I am using a cron to run a script that reads a txt file of 18 thousand lines and inserts into the bank, but is running at most one thousand lines, out of nowhere, it did not fall into any of the errors that could be. Is there another way to do i...
asked by 31.07.2017 / 16:12
2
answers

How to make setTimeout run "infinitely"

I need a function to run every 2 minutes. I found this link a solution for my need: Link The Code below, calls an alert after 5 seconds when the mouse is stopped. Note I put 5 seconds to save time on the test. <script type="te...
asked by 03.07.2015 / 16:26
1
answer

Log off and redirect user to login screen ASP NET MVC / C #

I'm looking for a way to end my session and redirect the user to the login screen when my system TimeOut . I tried to use Session.Abandon () according to some examples that I researched. But I do not know what I'm doing wrong. below is my co...
asked by 18.01.2018 / 11:57
1
answer

C variable reading with timeout

Does anyone know how to limit the time the user can enter a value? Example: My program prints a value on the screen and the user has 4 seconds to enter and enter enter, if what he typed is = to the printed value, the value changes...
asked by 29.06.2015 / 16:40
0
answers

(JAVA) Timeout for random token

I'm generating an alphanumeric token like this: SecureRandom secureRandom = new SecureRandom(); long longToken = Math.abs(secureRandom.nextLong()); String random = Long.toString(longToken, 16); I need a mechanism that defines the lifetime...
asked by 04.07.2018 / 00:43