check and do action when past 24h. Realtime clock

Get help using Construct 2

Post » Sun Dec 29, 2013 2:43 pm

I need to make the application from the moment you click 'save' count down the time you start the application after each first checked the how much time has passed and if passed more than 24 hours will show a corresponding message.

this is my example; https://dl.dropboxusercontent.com/u/44710358/hi.capxdelgado2013-12-29 14:50:47
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Sun Dec 29, 2013 3:04 pm

Sadly most of javascript based time elements are derived from the users host system, making it very volnurable for client side time manipulation.

If you have online availability in your app, you can get your time from some server by means of an ajax call.

If the app is launched from an embedded situation, you could perhaps pass the current time in the url, but this is also susceptable to manipulation if a client is able to launch the app with its own url.


Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Mon Dec 30, 2013 12:48 am

@lennaert prabably app dont need internet connection so i must think to make this same result but in events hmmm
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 12 guests