|
 |
asp_web_howto thread: URLEncode
Message #1 by "David Debreceni" <Debreceni.David@h...> on Tue, 18 Dec 2001 16:51:31
|
|
I have a simple problem I would hope. I need to encode a date that looks
like '08/12/2001' for transmission in a url. The client is entering the
date so I am unable to use server.urlencode. We are using the window.open
function in vb to pass this to a new window. Does anyone know of a way to
encode this? Thanks
Dave
Message #2 by "Johnson, Israel" <IJohnson@R...> on Tue, 18 Dec 2001 12:28:36 -0500
|
|
Try encoding the date using JavaScript and send results:
See: escape() and unescape functions....
-----Original Message-----
From: David Debreceni [mailto:Debreceni.David@h...]
Sent: Tuesday, December 18, 2001 11:52 AM
To: ASP Web HowTo
Subject: [asp_web_howto] URLEncode
I have a simple problem I would hope. I need to encode a date that looks
like '08/12/2001' for transmission in a url. The client is entering the
date so I am unable to use server.urlencode. We are using the window.open
function in vb to pass this to a new window. Does anyone know of a way to
encode this? Thanks
Dave
$subst('Email.Unsub').
Message #3 by "Coffey, Dana" <dcoffey@B...> on Tue, 18 Dec 2001 09:24:08 -0800
|
|
maybe use the replace function to replace the "/" with "_" and then again on
retrieval to replace the "_" with "/" ??
-----Original Message-----
From: David Debreceni [mailto:Debreceni.David@h...]
Sent: Tuesday, December 18, 2001 11:52 AM
To: ASP Web HowTo
Subject: [asp_web_howto] URLEncode
I have a simple problem I would hope. I need to encode a date that looks
like '08/12/2001' for transmission in a url. The client is entering the
date so I am unable to use server.urlencode. We are using the window.open
function in vb to pass this to a new window. Does anyone know of a way to
encode this? Thanks
Dave
$subst('Email.Unsub').
|
|
 |