Jackbob
11-22-2007, 05:46 AM
i've a little problem,
i've a page asp in two languages, when you choose a language, you go to a page which change a session variable in this way:
<%
Session("lingua")= "en"
Response.Redirect(Request.ServerVariables("HTTP_REFERER"))
%>
as you can see, you go back to the starting page.
The page is the same for the two language, the only change is the css included:
<% if language = "it" then %>
<link href="test/css/test.css" rel="stylesheet" type="text/css"/>
<% elseif language = "en" then %>
<link href="test/css/test_eng.css" rel="stylesheet" type="text/css"/>
<% end if
%>
But to see the change in the browser, i've to refresh the page... how i can force the refresh? Or how i can resolve the problem in a better way?
Thanks
i've a page asp in two languages, when you choose a language, you go to a page which change a session variable in this way:
<%
Session("lingua")= "en"
Response.Redirect(Request.ServerVariables("HTTP_REFERER"))
%>
as you can see, you go back to the starting page.
The page is the same for the two language, the only change is the css included:
<% if language = "it" then %>
<link href="test/css/test.css" rel="stylesheet" type="text/css"/>
<% elseif language = "en" then %>
<link href="test/css/test_eng.css" rel="stylesheet" type="text/css"/>
<% end if
%>
But to see the change in the browser, i've to refresh the page... how i can force the refresh? Or how i can resolve the problem in a better way?
Thanks