CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 cookie

Print topic Send  topic

Author Message
Fekri
Posted: 12/09/2005, 8:27 AM

i would like to convert these line of code from JSP to ASP
var cookie = Request.Cookies()+"";
var objRegex = new RegExp("%2C", "gi");
var cookieString = cookie.replace(objRegex, ",");
var position = cookieString.lastIndexOf(",");
objRegex = new RegExp("%2E", "gi");
cookieString = cookieString.replace(objRegex, ".");



var userID = cookieString.substr(position+1, cookieString.length - position-2);


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.