Use this tag for questions related to the Application State; an application can be at the active state, for example.
Questions tagged [application-state]
99 questions
2
votes
1 answer
How to have a working Geofence even if the app is not running?
I'm creating a location aware application. I was able to create geofences already,
when I test it in my iPhone, I noticed that the calllback methods -didEnterRegion and -didExitRegion are being called when the application is running in foreground…

Josh Byanec McFergan
- 441
- 8
- 21
2
votes
1 answer
is it possible to get back to my application after clicking google maps?
We have made an application for a city in the netherlands that wants tourists to visit their lovely museums.
when they reach the page fo a museum we have a little icon that they press and they get transported to google maps which shows them where…

jeroen
- 21
- 1
2
votes
1 answer
Accessing HttpApplicationState where there is no current HttpContext available
Normally, when we need a reference to the current Application state, we'd use:
HttpContext.Current.Appliction
But there are times that there's no current HttpContext (HttpContext.Current returns null). How can I obtain a reference to the current…

Iravanchi
- 5,139
- 9
- 40
- 56
2
votes
2 answers
Application state save/restore
I want to know if application state save/restore is mandatory or optional in order to get application approved for App Store?

Pablo
- 28,133
- 34
- 125
- 215
2
votes
2 answers
HttpApplicationState - Why does Race condition exist if it is thread safe?
I just read an article that describes how HttpApplicationState has AcquireRead() / AcquireWrite() functions to manage concurrent access. It continues to explain, that in some conditions however we need to use an explict Lock() and Unlock() on the…

Preets
- 6,792
- 12
- 37
- 38
2
votes
3 answers
Persisting application state in ASP.NET website
I am storing some web site settings for my ASP.NET website in the application state. I have also initialized the state in the Application_Start() method. Specific users can change these settings, but after a period of time, the settings are…

ankit0311
- 735
- 3
- 10
- 20
1
vote
2 answers
Application variable across load balanced servers (ASP.Net)
We have a website that runs on two load balanced servers. We used the ASP.Net Application variable to make application state "online/ offline", or for some important messages across the application,
So when i try update a application variable its…

Azhar
- 281
- 5
- 17
1
vote
0 answers
EMR Step application state changes randomly
In my stderr logs of EMR Step, I see the state changing from ACCEPTED to RUNNING but after some time it changes again to ACCEPTED. Does this mean another application has been submitted to the same cluster or there is issue with the code running in…

seou1
- 446
- 1
- 5
- 21
1
vote
1 answer
How to get the performance metrics of a Java application
How to get current memory in use, no. of threads, CPU usage, load metrics etc. of a Java application that runs on Tomcat or Jetty. I need these metrics for finding the current state of the application if it's overloaded or underutilized etc. and I…

JSC
- 19
- 3
1
vote
1 answer
Is there a way to get a current state of the application?
I have an application that periodically checks the server for some flag.
And then displays a message depending on the value of this flag.
I don't want to display a message then the application is not in a front.
And I use SharedPreferences to store…

Serg
- 71
- 2
- 8
1
vote
3 answers
windows phone 7 keep application running on back button
I'm implementing an application that should not stop running on clicking any button on the device. Is this possible and how can I achieve this?
Regards

crauscher
- 6,528
- 14
- 59
- 85
1
vote
1 answer
URLSessions give URLResponse nil when app goes to background
I use URLSessions to do my network calls and it always fails when I put my app to background state.
When I bring the app to foreground state, the URLSession give URLResponse as nil.
How can I make it work in background state?

Anirudha Mahale
- 2,526
- 3
- 37
- 57
1
vote
1 answer
Angular 4 application state management
I will try to phrase this question more as a problem than a discussion point.
Im building an Angular 4 + Spring application and I am having problems with state management. App functionalities are login, interactive map, subpages with settings…

raouaoul
- 681
- 2
- 13
- 33
1
vote
0 answers
How to share the Asp.Net Application Variables among severs in a Web Farm environment
We can have a persistence storage for Session Variables using SessionStateMode as SQLServer. Why don't we need that flexibility for Application Variables? Is it because their size should be very less (common for all users)?
If we are thinking of a…

anveshtummala
- 432
- 4
- 11
1
vote
1 answer
ASP.NET Application ending immediately after starting
Having a bit of a problem with my hosted ASP.NET applications. I noticed slowness when opening pages, the kind of slowness that you see the first time you start up an ASP.NET app. After researching, I'm finding that the Application_End event is…

Joe Enos
- 39,478
- 11
- 80
- 136