request.querystring

This is a discussion on "request.querystring" within the Classic ASP section. This forum, and the thread "request.querystring are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 15th, 2005, 21:09
New Member
Join Date: Sep 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
request.querystring

I have the asp code passing a URL and am using a request.querystring to get it, but for some reason it is not picking it up. Is this the correct way of doing it or is there another way it should be done?

Thanks,

breeze76
Reply With Quote

  #2 (permalink)  
Old Oct 15th, 2005, 21:17
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,951
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Can you please post your code?
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #3 (permalink)  
Old Oct 15th, 2005, 21:55
New Member
Join Date: Sep 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Rob
Can you please post your code?
Here is the link I will click:
<a href="ListView_rssfeeds.asp?feed_id=<% =rs("RSS_ID")%>&feedurl=<% =rs("url")%>&feedtitle=<% =rs("title")%>"

Here is the Address info in IE:
http://MySite/mwpxnext/ListView_rssf...Press%20Review

Here is the request.querystring code:
strurl = request.querystring ("feed_url")

As you can see, it is passing everything but I just can not get it right for some reason. I am doing a response.write for all three and the only one I am not getting is the "url" one. Any help would be greatly appreciated..
Reply With Quote
  #4 (permalink)  
Old Oct 15th, 2005, 21:59
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,951
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
You have made a pretty basic mistake here... use this instead:
strurl = request.querystring ("feedurl")

Thats what you need!!
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #5 (permalink)  
Old Oct 15th, 2005, 22:06
New Member
Join Date: Sep 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Rob
You have made a pretty basic mistake here... use this instead:
strurl = request.querystring ("feedurl")

Thats what you need!!
Boy, it was right in front of me all the time, I guess I was looking for something hidden instead of obvious..

Thanks...!!
Reply With Quote
  #6 (permalink)  
Old Oct 16th, 2005, 14:35
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
isnt it allways the case lol
Reply With Quote
Reply

Tags
requestquerystring

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing wildcards in a querystring jayaime Classic ASP 0 Oct 11th, 2006 19:02
var = Request.QueryString(item) - why doesn't this work?! Donny Bahama Classic ASP 7 Jun 17th, 2006 08:43
PLEASE HELP - Passing Variables in Querystring just_the_basix Classic ASP 40 Sep 3rd, 2004 10:46
Selecting database records using the QueryString courtjester Classic ASP 10 Aug 27th, 2004 19:52


All times are GMT. The time now is 21:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43