ReturnURL encoding in Forms Authentication.
-
In my site when user tries to access the following URL: https://www.iec.executiveboard.com/Members/DecisionSupportCenters/Section.aspx?cid=100012845&sid=100012931#section7878650[^] it redirects me to login.aspx page with the return url specified above, but the url is trucated and it doesnot show "#section7878650" in the return URL. We are using FormsAuthentication. Can anyone help me out.
Ashwani
-
In my site when user tries to access the following URL: https://www.iec.executiveboard.com/Members/DecisionSupportCenters/Section.aspx?cid=100012845&sid=100012931#section7878650[^] it redirects me to login.aspx page with the return url specified above, but the url is trucated and it doesnot show "#section7878650" in the return URL. We are using FormsAuthentication. Can anyone help me out.
Ashwani
Use Server.UrlEncode(url) command to Encode the url.
Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group | Blog Spot