Keith wrote on 26 aug 2004 in microsoft.public.inetserver.asp.general:
"Keith" wrote in message Is there any way of setting the URL of the current page in a session
variable?
I want to do this so I can create links and redirects back to the
page on which the user invokes a particular procedure.
If it makes a difference, the site is in frames. The URL I want to
capture is that of the page loaded in the Main frame.
[Please do not toppost, even answering your own posts]
<%
mySite = "http://www.mySite.com"
session("myUrl") = mySite & "/myfolder/mypage.asp"
%>
or more general [but why would you?]
<%
mySite = "http://www.mySite.com"
session("myUrl") = mySite & Request.servervariables("URL")
%>
ASP does not know about frames !
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)