.NETGURU
url encode in client site
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngclient' list.


Vo Thanh Hoa
-- Moved from [aspngfreeforall] to [aspngclient] by mrpike <Click here to reveal e-mail address> --

Hi all, I just came into the question below
Is there any function that can encode an url in client-site or we have to do it by hands ?

Reply to this message...
 
    
George Kaytor
If you mean client-side scripting, javascript has the escape function which
will url encode a string.

example: escape(urlstring

-g

[Original message clipped]

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

Reply to this message...
 
    
Vo Thanh Hoa
Thanks
I have found the writting below in MSDN=20

"Note The escape method should not be used to encode Uniform Resource =
Identifiers (URI). Use encodeURI and=20
encodeURIComponent methods instead"

-----Original Message-----
From: George Kaytor [mailto:Click here to reveal e-mail address]
Sent: Monday, August 12, 2002 7:19 PM
To: aspngclient
Subject: [aspngclient] Re: url encode in client site

If you mean client-side scripting, javascript has the escape function =
which=20
will url encode a string.

example: escape(urlstring

-g

[Original message clipped]

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:=20
http://photos.msn.com/support/worldwide.aspx

| [aspngclient] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngclient.asp =3D JOIN/QUIT

Reply to this message...
 
    
George Kaytor
Those methods will be executed on the server not on the client... If you
want to have it run on the client (ie in the user's browser) you have to use
a client side script. (javascript or vbscript)
-g

[Original message clipped]

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification