<rewrites>
<!-- Redirect Home -->
<add name="RedirectApplication"
virtualUrl="^~/Default.aspx"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="/Index.aspx"
redirect ="Application"
redirectMode="Permanent"
ignoreCase="true"/>
<!-- Home -->
<add name="Home" virtualUrl="^~/Home"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="/AppWeb/eCms/Cuz/Ivm/Pages/Info/Home.aspx"
ignoreCase="true"/>
<!-- Contact -->
<add name="Contact" virtualUrl="^~/Contact"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="/AppWeb/eCms/Cuz/Std/Pages/Info/Contact/Contact.aspx"
ignoreCase="true"/>
Problem is: i use 2 language and stored languageID in session, and use LinkButton to switsh language, LinkButton click event in code behind i save languageID to session and Redirect to file Index.aspx in root folder (Response.Redirect("/Index.aspx");). But if current page is
http://test.cityivm.com/Home when i click change language then it not work (not change), but current page is another (ex:
http://test.cityivm.com/Contact) then it work, i dont understand why. Postback does not seem to work in default home page.
Anyone help me, thanks.