Re: COOKIE EXPIRATION TIME
From: S. Justin Gengo (sjgengo_at_aboutfortunate[no-spam)
Date: 08/01/04
- Next message: Doug: "Re: DDL Height - Setting it has no effect?"
- Previous message: Tarren: "manually install Remote Debugger?"
- In reply to: Oleg Leikin: "COOKIE EXPIRATION TIME"
- Next in thread: Oleg Leikin: "Re: COOKIE EXPIRATION TIME"
- Reply: Oleg Leikin: "Re: COOKIE EXPIRATION TIME"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 1 Aug 2004 15:50:07 -0500
Oleg,
You could use a javascript to enter the client's time into a hidden form
field.
Of course this information would then have to be posted back before setting
the cookie...
Something like this:
<script language="Javascript">
<!--
document.Form1.myHiddenField.value = new Date()
//-->
</script>
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Oleg Leikin" <OlegLeikin@discussions.microsoft.com> wrote in message
news:91CA0EFD-CE4E-44A8-BCDA-0862EF59BC62@microsoft.com...
> Hi,
>
> (newbie question)
>
> I've created some simple .NET ASP application that should store cookies at
the client machine.
>
> According to the documentation cookie expiration time is set via
HttpCookie.Expires property, but property value is the time of day on the
client.
>
> How can I possibly know client local time ?
>
>
> Thanks in advance !!!
>
- Next message: Doug: "Re: DDL Height - Setting it has no effect?"
- Previous message: Tarren: "manually install Remote Debugger?"
- In reply to: Oleg Leikin: "COOKIE EXPIRATION TIME"
- Next in thread: Oleg Leikin: "Re: COOKIE EXPIRATION TIME"
- Reply: Oleg Leikin: "Re: COOKIE EXPIRATION TIME"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|