tesicg
tesicg

Reputation: 4053

Is it possible to change the url of the given page?

I have ASP.NET application and use the same ASPX page to display 3 different steps in some process. The address looks as following:

http://site/Order.aspx?ActionID=a&ActionDate=b&SeatType=&SeatsID=c&RowNumber=&Price=d&OpenID=e&MuzTVPas=e

But, on last step I need to display different url address that should look as following:

http://site/Order.aspx?Basket=thanks

So, is it possible to force displaying another address without all those parameters?

Upvotes: 1

Views: 41

Answers (2)

lui1000
lui1000

Reputation: 89

You can use the URL Rewrite Module to acchieve this. Click here for more information.

Upvotes: 0

James
James

Reputation: 82096

As far as I know the only way this can be done is to use the history.pushState on the client, can't imagine it's possible to do this server-side without causing a postback.

Upvotes: 1

Related Questions