Post Client Web Browser Time Automatically?

  • Thread starter Thread starter bdwise
  • Start date Start date
B

bdwise

I want the client to include their local datetime and timezone every
time they do a postback to my ASP.NET page. But I am not sure how to
create a JavaScript hook that will get that data into the postback
every time so I can capture it on the server side. How can I do that?

Thanks.
 
IIRC this is available from the HTTP Headers that are automatically send
from the client
 
I did a Request.Headers.ToString() to see what's in there and saw no
headers with browser datetime....
 
Sorry about that... upon further review we were doing it as you see in the
other posts. We used a clientside script to get the offset and pass to the
server

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
 
I've looked through other posts, but having difficulty finding the solution you are referring to. Could you please be more specific. I, too am needing the client-side date-time and since I'm new to .net I'm having difficulties knowing how/where to get it. Thanks
 
Back
Top