Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » System Shutdown Times
Re: System Shutdown Times [message #2117 is a reply to message #2116] Mon, 08 June 2009 13:50 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
This is tricky as I don't know the user's time zone until after he/she has logged on, but if the system is in a shutdown state then he/she cannot log on. There is no information available in the HTTP headers, but I've just tried a solution which I think will work.

When a user logs on I set a cookie called 'timezone_client', so this information will always be available on the logon screen. This assumes, of course, that the same device is not used by people in different time zones.

See the attached file for the changed scripts.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Display a message in an ADD2 transaction
Next Topic: Question about the session page stack
Goto Forum:
  


Current Time: Sat Aug 17 09:16:37 EDT 2024

Total time taken to generate the page: 0.01019 seconds