By: Adriane
Date: 2011-09-20
Time: 19:56
|
parameter in URL not able in if clause?Hello,
if I do something like this:
and the Exposition.ReferenceHomepageURL = http://www.wettbewerb-kulturstiftung.de/show_project_short_neu.aspx it works, if it's like: http://www.wettbewerb-kulturstiftung.de/show_project_short_neu.aspx?ID=4201 it does not work. In the second case with parameter it goes into the else case, but if I display [val] in the else case it's "http://www.wettbewerb-kulturstiftung.de/show_project_short_neu.aspx?ID=4201". So why is it taking the else case and what do I have to change that it works? Greetings Adriane |
|||
By: Skrol29
Date: 2011-09-21
Time: 00:16
|
Re: parameter in URL not able in if clause?Hello Adrian,
This is because [val] contains the symbol "=". You should replace:
Nevertheless, your snippet could be simplified into:
|