Forums
This topic is locked
Add MM_KeepURL to Response.Redirect
Posted 25 May 2004 20:41:04
1
has voted
25 May 2004 20:41:04 Claudio Huyskens posted:
I just don't get the right code. I want to add the MM_Keep Url or anything that adds the momentary URL to the Response.Redirect.Thanks in advance.
Replies
Replied 26 May 2004 12:23:06
26 May 2004 12:23:06 Vince Baker replied:
to get the current url you can use the following:
<% Request.servervariables("Script_name" %>
so added to a response.redirect statement it would look like this:
<% Response.redirect("yourpagename.asp?URL=" & Request.servervariables("Script_name") %>
This would go to your page and add a URL variables called URL to the querystring.
Is that what you are after?
Regards
Vince
DMX Talkzone Manager
Visit my home: www.chez-vince.com
(Now completely CSS based and bye bye to all tables!)
VBScript | ASP | HTML | CSS | SQL | Oracle | Hosting
<% Request.servervariables("Script_name" %>
so added to a response.redirect statement it would look like this:
<% Response.redirect("yourpagename.asp?URL=" & Request.servervariables("Script_name") %>
This would go to your page and add a URL variables called URL to the querystring.
Is that what you are after?
Regards
Vince
DMX Talkzone Manager
Visit my home: www.chez-vince.com
(Now completely CSS based and bye bye to all tables!)
VBScript | ASP | HTML | CSS | SQL | Oracle | Hosting