Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs
xxxxx_at_hjjghgj.com
Date: 04/10/04
- Next message: Andrew Urquhart: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Previous message: Rudi Ahlers: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- In reply to: Rudi Ahlers: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Next in thread: Andrew Urquhart: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Apr 2004 14:35:41 GMT
On Sat, 10 Apr 2004 16:17:08 +0200, "Rudi Ahlers"
<SP4M_Rudi@SP4M_Bonzai.org.za_SP4M> wrote:
I didn't see all the text in your post. Yeah, you're right, it
doesn't work with query strings... I found that out early on...
What the hell good is this extra asp 3.0 function if it doesn't work
with a query string... ????
I guess It's really just a replacement for includes.
I think "transfer" is supposed to be able to use the variables
explicitly defined on the calling page? or something?
Just store the vars in a session. I throw them in a dictionary in
some of my projects.
>Not quite, server.execute doesn't work with querystrings.........
>Like I said, I tried all possible options, adding a "/" to it, having the
>whole path, etc.
>See, when it's just index.asp?n=news, then it works, but the moment I add
>something to it, like index.asp?n=news&ID=71, then it bombs out
>
>Check this URL: http://www.aspfaq.com/show.asp?id=2030
>
>What a bummer. I was hoping though somebody have a different solution?
>
>--
>
>Kind Regards
>Rudi Ahlers
>+27 (82) 926 1689
>
>Greater love has no one than this, that he lay down his life for his friends
>(John 15:13).
><xxxxx@hjjghgj.com> wrote in message
>news:4077f6fc.379777484@news.dallas.sbcglobal.net...
>On Sat, 10 Apr 2004 15:30:36 +0200, "Rudi Ahlers"
><SP4M_Rudi@SP4M_Bonzai.org.za_SP4M> wrote:
>
>I think The "page" variable needs to be a string that is like
>"/yourvirtualdirectory/nameofpage.asp" ... a "relative" url that is
>under your root web directory...
>
>currently it thinks you're trying to use a "fully qualified" url that
>could be in another domain or something...
>
>>Please help, I have tried all possible routes.
>>
>>I have a table with a layout, and in one of the cells, I have :
>><%=server.Execute(page)%>
>>
>>The code that gives me this problem is:
>>
>>newslink = request.QueryString("n")
>>IDno = request.QueryString("ID")
>>
>>
>>if newslink <> "" then
>> page = "news/" & newslink & ".asp"
>> If objFSO.FileExists("/news/" & page) = false Then
>> page = "news/news.asp"
>> End If
>> if IDno <> "" then
>> page = page & "?ID=" & IDno
>> end if
>>else
>> page = "home.asp"
>>end if
>>
>>
>>Now, when I type the following URL in,
>>http://localhost/newhp/index.asp?n=news, then it works fine
>>If, however I type in http://localhost/newhp/index.asp?n=news&ID=71, I get
>>the above error.
>>
>>all the news stuff is in a seperate folder, but that shouldn't be a
>problem.
>>Please help?
>>--
>>
>>Kind Regards
>>Rudi Ahlers
>>+27 (82) 926 1689
>>
>>Greater love has no one than this, that he lay down his life for his
>friends
>>(John 15:13).
>>
>>
>
>
- Next message: Andrew Urquhart: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Previous message: Rudi Ahlers: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- In reply to: Rudi Ahlers: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Next in thread: Andrew Urquhart: "Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|