URL redirect page w/ POST, use JavaScript or C# -
i need create simple service accepts query string parameters, fires off post service accepts of parameters then, redirects different page specified in query string.
my quandary whether use c# or javascript, whether use aspx page code behind in on_load function or quick javascript on html page. performance in case main concern want appear seamless.
thoughts or suggestions?
thanks in advance help.
if performing "fire , forget" post, javascript method work great because http call happen async. so, can fire off call , change browser location.
if need wait result, performance of either of these methods not make big difference. however, javascript method allow more influence ui while waiting.
Comments
Post a Comment