|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i need a feature where a textbox displays what page i have just come from so if i came from index.htm and went to that page a textbox would have index.htm already written in it. if anyone knows where ican find something like that or if u no how to do it any help would be greatly appreciated. Thanks
|
|
#2
|
||||
|
||||
|
Hi
You can't do this with HTML/JavaScript but you could with ASP: Code:
<html> <head> <title>Referer 1</title> </head> <body> <form method="GET" action="referer2.asp"> <input type="submit"> </form> </body> </html> Code:
<html>
<head>
<title>Referer 2</title>
</head>
<body>
<form>
<%
str_Referer = Request.ServerVariables("HTTP_REFERER")
ary_Referer = Split(str_Referer,"/")
str_Page = ary_Referer(UBound(ary_Referer))
%>
<input type="text" name="HTTP_REFERER" value="<%= str_Page %>">
</form>
</body>
</html>
|
|
#3
|
|||
|
|||
|
thanks that helped a lot
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > referrer help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|