Hi Hope you using PHP, because you mentioned asp extension; but your question are related to PHP. below code should be in common include header or any files (may be config) <?php session_start(); $_SESSION['previous_page']=$_SESSION['current_page']; $_SESSION['current_page]=$_SERVER['SCRIPT_FILENAME']; ?> place the below code in your subscribe page <?php session_start(); echo $_SESSION['previous_page']; # you will get what is last page ?> Thanks, Muthukumar Selvarasu, Project Manager (Web Development), Webmasters Ltd. -----Original Message----- From: sudhakar [mailto:finals27@xxxxxxxxx] Sent: Wednesday, December 12, 2007 7:07 PM To: muthukumar_se@xxxxxxxxxxx Subject: Fwd: RE: question about tracking thank you for replying. would it be posssible to send the code for this session variable which you have mentioned. also could you specify which global file you are referring to Note: forwarded message attached. ____________________________________________________________________________ ________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs