When you need to pass some special charaters(+, % etc.) in Querystring you will need to encode it first before redirecting.
Response.Redirect(www.abc.com/createtask.aspx?taskID= + Server.UrlEncode(Session["TaskGUID"].ToString())
This is very helpful when you are going to send some GUID values.
But keep in mind don't use Server.UrlDecode in createTask.aspx page as Request.Querystring automatically recieves decoded string.
Thursday, May 7, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment