Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http://www.address.com/?location=file.html 1

Status
Not open for further replies.

801119

Programmer
Apr 10, 2000
311
SE
Greetings all...

A newbi asks a question... :)

is this thing possible to do with ASP?
so that the server writes the content of that file onto the current window?

Hope I explaind it correctly(?)!!

thx My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
I'm not sure exactly what you're trying to accomplish. Are you trying to show the page "file.html" in the browser, or merge file.html in with the current default page that is displayed?

If all you want to do is go to file.html, and the only way you can get the page is through a querystring as you have shown (which I don't understand how your getting it that way, I'm sure there's a better way to do whatever it is that you're doing), then you can have it direct to a page that will take the querystring and redirect accordingly, such as:

<%
Response.redirect(Request.QueryString(&quot;location&quot;))
%>


also, it should look like , not the way you have shown it, it may still work, I don't know, I haven't tried it that way, but since I've never seen it that way, it leads me to believe that it should work the way I have displayed it here.

If that doesn't answer your question, please post it more clearly. Let me know if it helps... -Ovatvvon :-Q
 
that was exactly what I was looking for, the Request.QueryString(&quot;location&quot;)...

thanks... My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top