I have a XMLPackage that checks if customer is logged and if not automatically redirects him to the signin.aspx page, passing the returnURL as parameter, like this:


Notice that the returnURL carries together a querystring with a few parameters.

The problem is that after customer to sign in, it is bringing back only the FIRST parameter in the returnURL querystring, like this:


How can I fix it?


in ML by (1.2k points)

1 Answer

0 votes
That is because your & in the returnURL query string is not encoded...try encoding it first...
by (6.9k points)