- Home /
Session timeout does not notice work being done in Unity web player and alerts the user. How can I prevent this?
Currently I have a web application with a session timeout window that pops up after 20 minutes of inactivity. However, I noticed that when I work inside and play inside the Unity web player, the session time out window appears after 20 minutes of working in Unity (in which it shouldn't pop up because working in Unity should not be considered inactivity).
I was wondering, how can I prevent this? How can I make a script in Unity that calls or does polling to web app notifying that activity is being done in Unity?
Graham, so if I wanted Unity to pass the activity of mouse clicks on the scene in the web player, I would just create a mouse click function and then pass that function via javascript to the web app?
Your answer
Follow this Question
Related Questions
Network.Connect Connect Attempt Timeout 1 Answer
Unity server connection time out 0 Answers
Mathf.PingPong with ease in and out? 2 Answers
How to change scenes after iOS user is idle 1 Answer
How to stop Client timeouts 0 Answers