I opened two same pages in different tabs. the URL of the first tab is
domainname/Summary.aspx?a=xxxx&b=xxxx1
and for second is
domainname/Summary.aspx?a=xxxx&b=xxxx2
when I try to retrieve the current location of the web page. it shows the same return for both. how can I get URL of current or button cliked page.
What I have tried:
string MyUrl = HttpContext.Current.Request.Url.AbsoluteUri
firstvalue = HttpContext.Current.Request.QueryString["a"]
secondvalue = <pre>HttpContext.Current.Request.QueryString["b"]
even when I use the session to retrieve the value of a and b. both returned the same value
For example, the value of a is 1 and b is 01 for the first page
and the value of a is 2 and b is 02 for the second page
but when I click on the button on any page from these two. it shows the same value a is 2 and b is 02.