
April 11th, 2000, 04:28 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : Nagaraju Sathrasala (nag_sathrasala@hotmail.com)</b></i><br />Hi<br />when ever the page is called, u can pass the unique value. by cheking the value u can<br />determine from which page it's called.<br /><br />example:<br />page1.asp,page2.asp,page3.asp<br />assume ur calling page1.asp from two other pages.<br /><br />code in page2.asp<br />href="page1.asp?Id=2"<br /><br />code in page3.asp<br />href="page1.asp?Id=3"<br /><br />code in page1.asp<br /><%<br /> if request.querystring("Id") = 2 then<br /> response.write "This is called from page2.asp"<br /> elseif request.querystring("Id") = 3<br /> response.write "This is called from page3.asp"<br /> end if<br />%><br /><br /><br />------------<br />tom stanley at 4/4/2000 12:45:20 PM<br /><br />i have this asp page that is being called by 2 different asp pages. i need to know which one is doing the calling. how can i do that not using a function but using code inside the <% and %> symbols when loading the asp page that is being called by 2 different asp pages.<br />
|