Our urls show as www.domain.com/getproduct.aspx?productid=48376 (url #1) in Google search results.
When you click on the link and go to the site the URL is www.domain.com/product-name.aspx (url #2)
I checked in Google Webmaster Tools (Fetch as Google) and there is a 302 redirect from url #1 to url #2. It also shows a Set-Cookie value, ASP.NET_SessionID=
If we make it a 301 redirect instead, will the url displayed in Google search results be the url #2?
We need to get rid of the Set-Cookie for crawlers correct?