httphandlers....

Apr 22 2007 2:35 AM
i have four pages out of which one is a parent page.

suppose assume A as parent page.

step1:in step 1 i have navigated from page A to page B.from page B i clicked on cancel button.it came to page A.

step2:in step to i have navigated from page A to page C.from page c i clicked on cancel button.This time it didnt return to page A instead of this  has gone to page B.

while debugging i came to know there is a problem with http handlers..below is the code.could any one help me how to rectify this..

string tempParent = Request.UrlReferrer.PathAndQuery;