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
0
votes
1 answer
Keep track of a .net application variable through different requests
In a .Net application when using C# I have to make an expensive call to get some data to a third party API, and depends on this one sometimes it's slower that I would like.
Thing is, that data will be accurate but I can calculate it with less…

mitomed
- 2,006
- 2
- 29
- 58
0
votes
0 answers
The backgroundTimeRemaining coming very high even if the app is in background
I am trying to print the background remaining time when the application state is background.I am trying to read the time remaining in background to perform certain tasks when the background fetch is triggered.
Here is my code:-
UIApplicationState…

IOSDevops
- 111
- 10
0
votes
2 answers
(Windows phone 10) Handle Application state
I am developing application in windows phone 10
For some reason, I must handle application state (go to background, enter foreground). I have handle event suspend and resume at App.xaml.cs but it does not works, OnSuspending and OnResuming are not…

ThangBM
- 301
- 3
- 10
0
votes
3 answers
iPhone setting NSUserDefaults to nil when app is closed or in background
I want to eliminate all of the variables saved into all fields of NSUserDefaults whenever the app is closed or running in the background for a certain amount of time - say 5 minutes.
I tried to add a line to the app delegate of…

startuprob
- 1,917
- 5
- 30
- 45
0
votes
0 answers
Classic ASP, Application state variable value not same for different users when in StateServer mode
My application is a mixture of asp classic and asp.net pages. In web.config sessionState mode is StateServer, because I allowed multiple threads in IIS. So when I try to access the application from different browsers\machines the value in…

user1630477
- 51
- 5
0
votes
0 answers
Asp.net Application State Expiration Issue
I am having an issue with the data in the Application object expiring within 1 minute. I need the data in this object to persist at least 15 - 20 minutes after the last user of the web application leaves. This used to work fine, but I have had this…

OwlsCIS
- 61
- 4
0
votes
0 answers
Get Data from an object using ASP Gridview
I'm trying to convert my Gridview from using an SQL datasource to using an object that I am storing as an Application State variable.
I have the object stored, and then called into the page I want to load it from
if (Application["AllLeads"] !=…

Soulevoker
- 163
- 8
0
votes
1 answer
How to "put everything together" in Android app?
Im learning Android and writing my first big application. It is client-server app and it uses Google login mechanism and will use Facebook login in future.
I wrote fundamental parts of app, like "Login with Google", connection with web service, few…

Kamil
- 13,363
- 24
- 88
- 183
0
votes
1 answer
App Call Main Launcher launch from different icon/shortcuts
Launch application from Desktop shortcut icon. Start Activity A by app launcher on activity a have button for move to Activity B and finish activity A. I pressed button and moved to Activity A to Activity B.
Now, I minimize app and again click on…

Ankur Loriya
- 3,276
- 8
- 31
- 58
0
votes
1 answer
Grails - global plugin registration
I am developing a series of grails plugins that need to register themselves with the application when it starts. This would allow me to create a factory to lookup plugin class instances by a friendly string name at runtime.
What would be the best…

cweston
- 11,297
- 19
- 82
- 107
0
votes
0 answers
Saving application state to external storage in Android
I'm working on a game for Android and had been trying to figure out how to go about saving the values to external storage and reading them back later. I was going to go about outputting all the variables into a string, writing that to a file, then…

EMacKuin
- 85
- 3
- 12
0
votes
1 answer
Why do we need StaticObjects collection when HttpApplicationState can be handled by HttpContext
i just read we can access HttpApplicationState using Application or StaticObjects
I am not clear as why we need two different approach
as all i can see is
Application will help you to add and read in the code level
while using staticobjects we can…

SIDDU HUSSAIN
- 47
- 6
0
votes
0 answers
Return to my app after calling the map app
I'm currently writing an app for Windows Phone 8, that conains some contact information and is able to open the bing map navigation to navigate to the contact adress.
My problem is that I want to return to the page from which I opened the bing map…

iQzero
- 11
- 1
0
votes
2 answers
How can I store dataset() in Application variable?
Is it possible to create an Application State which can store DataSet()?
I want to create DataSet variable that may be available for any user. How can I do that?
Thanks!

Ido
- 397
- 2
- 7
- 22
0
votes
2 answers
A question regarding application state
I have a question regarding the application state in asp.net. As i know, data stored in application state is not permanent, data lost when the application is restarted/stopped. So, what does the 'application is restarted/stopped' mean?
2nd…

Fire Hand
- 25,366
- 22
- 53
- 76