Sep 24, 2001 #1 Linkan Programmer Feb 7, 2001 44 SE Today my problem is that I want to use the right include file for language depending on who is loging in. Is there an easy way of doing this? Thanks for a great forum! //Linkan
Today my problem is that I want to use the right include file for language depending on who is loging in. Is there an easy way of doing this? Thanks for a great forum! //Linkan
Sep 24, 2001 #2 jitter Technical User Sep 2, 2001 351 US <% Dim strUserID strUserID = Session.Contents("UserID" Select Case strUserID Case 1%> <!--#include file="c:\file1.asp"--> <%Case 2%> <!--#include file="c:\file2.asp"--> 'ect...... <%End Select%> Upvote 0 Downvote
<% Dim strUserID strUserID = Session.Contents("UserID" Select Case strUserID Case 1%> <!--#include file="c:\file1.asp"--> <%Case 2%> <!--#include file="c:\file2.asp"--> 'ect...... <%End Select%>
Sep 24, 2001 Thread starter #3 Linkan Programmer Feb 7, 2001 44 SE Hi, Okay I put this in my connect.asp file I have this included in all my pages. It seems like if both files loads for some reason. It is two language files Swedish or English. Somthing goes wrong here, maybe I have to do it in every page?? Thanks again. //Linkan Upvote 0 Downvote
Hi, Okay I put this in my connect.asp file I have this included in all my pages. It seems like if both files loads for some reason. It is two language files Swedish or English. Somthing goes wrong here, maybe I have to do it in every page?? Thanks again. //Linkan