CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge -> Programming


Print topic Send  topic

Author Message
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

Web Database

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

Home   |    Search   |    Members   |    Register   |    Login

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