global.asa and LCID

Results 1 to 4 of 4

Thread: global.asa and LCID

  1. #1
    Marco Kooreman Guest

    Default global.asa and LCID

    Does anyone know how to solve the following problem?<BR><BR>I want to create a Session.LCID for the Dutch language in my global.asa is this possible? If yes, how can I do this.<BR><BR>If I simply put the line Session.LCID=1033 in my global.asa it doesn&#039t work. If I put this command above every page with script it works.<BR><BR>Any suggestions?<BR><BR>Thanks,<BR><BR>Marco Kooreman

  2. #2
    Sathiya Guest

    Default RE: global.asa and LCID

    This is a cut and paste copy from Professional ASP book.<BR><BR>ASP engine uses the default locale identifier(LCID) of the WEB Server unless you specify a different locale for a PARTICULAR SCRIPT.<BR><BR>may be this can help you.

  3. #3
    Marco Kooreman Guest

    Default RE: global.asa and LCID


  4. #4
    Marco Kooreman Guest

    Default RE: global.asa and LCID

    I am still having problems to localize My Website for the Dutch language. My Local website runs perfect, but when I transfer my site to my ISP the prblems begin! You told me it isn&#039t possible to set the LCID in the global.asa. No problem I thought, I will put it on every page where it is required. All seems well but at a asp-page I get the following error:<BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039 80040e21&#039 <BR><BR>Errors occurred <BR><BR>/cgi-bin/confirm2.asp, line 42<BR><BR>The underlying code comes from the confirm2.asp<BR><BR>&#060;% CurrentRecord = 0 <BR>Do While CheckRS(RS)<BR>&#039get initial variables<BR>subtotal = RS("subtotal")<BR>shipcost = RS("shipcost") &#060;------- THIS MUST BE LINE 43<BR>taxrate = RS("taxrate")<BR><BR>I think it has someting to to with the format the fields are in(number/text/currency)? <BR><BR>Any ideas or is there another way to localize script?<BR><BR>BR<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts