Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 16th, 2005, 07:16 AM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Url Distorted

Hi,

I'am facing following issue.
What I 'am trying to do is on clicking a link I redirect the user to url say this:
http://www.test.com/index.cfm/test/US/EN,CRID=2084 and it works fine.

But when I pick the above url from DB store it in a varaiable and do response.redirect it redirects to:
http://www.test.com/index.cfm/test/US/EN%2CRID%3d2084

basically it converts , and = to %2 and %3d respectively.
It works fine if I have direct link for the url I want to redirect but when I store it in a varible and do response.redirect it distorts the url.

Any Ideas?
Thanks







Amit
 
Old September 26th, 2005, 03:27 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii Amit!!

use server.urlencode method


Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Redirect based on given URL somnath.kartic VS.NET 2002/2003 1 August 2nd, 2012 08:21 AM
distorted result while calling a html file taraprasad Pro JSP 1 January 11th, 2008 04:06 AM
URL rewriting with URL forwarding mtabyana BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 0 October 22nd, 2007 08:22 AM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM
Url Help morpheus Classic ASP Basics 2 January 27th, 2004 12:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.