Trying to locate the list of valid lcid's on MS's site and googled. Ive toiled long and hard, but alas I cannot locate the information. (previous links moved)
Could anyone point me in the direction of a list of countries and their associated lcid
We are translating our web shop to Slovak but when I use Session.LCID=1051 for slovak do I get the error "Invalid LCID". The same shope use Swedish = 1053, Norwegian(Bokmal) = 1044, English = 1033 and no problems. What do I have to do in order to get Slovak to work on the same server?
I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the following error.
I've recently installed a calendar that I downloaded but I'm having a bit of a problem with the date settings. I thought setting the LCID value would help which it does but brings another problem.
The site is being hosted on a server in Germany, and when I enter the LCID value for Germany it works but also changes the days and months to German. Any way to change that to English? I tried using the LCID values for US or UK but it just does not work....probably something to do with the German format of dd.mm.yyyy .
I've recently installed a calendar that I downloaded but I'm having a bit of a problem with the date settings. I thought setting the LCID value would help which it does but brings another problem. The site is being hosted on a server in Germany, and when I enter the LCID value for Germany it works but also changes the days and months to German. Any way to change that to English? I tried using the LCID values for US or UK but it just does not work....probably something to do with the German format of dd.mm.yyyy
Is it possible to change the Session.LCID in a hyperlink? My problem is I'm calling a Date from a database to use as a querystring in the hyperlink but I also need to display the date as output from the hyperlink.
I need to have to querystring in Session.LCID = 1033 and the display date in Session.LCID = 2057. Code:
I want to know if user disable cookie, will the session still working? Actually I remember we could disable cookie in IE before (not sure what version, but I couldn't see the option anymore. Now I am using IE6.
I have just inherited a system which I have to maintain so if I'm missing something obvious here then go easy. The problem is my sessions won't timeout with any reliability. Sometimes they do and sometimes they don't. There doesn't appear to be any consistency to it.
In my global.asa file:
Code: Sub Session_OnStart session("logged_in") = "FALSE" session("whereTo") = 0 session("user_project") = "" session("client_id") = "" Session.Timeout = 20 End Sub Are sessions just unreliable by their nature or am I missing something?
Is there anyway of using the Session.LCID to format a date for the user?For example, users in the UK get date format dd/mm/yyyy and US users get mm/dd/yyyy from the LCID object.
When using Session.LCID to set different locales for different users using a webapp, is it possible to change those locale specific settings somehow? Let's say some picky user doesn't like a date format with leading zero's, and this happens to be the default for his locale.
is there a way to change this setting for this locale (using Regional settings in the control panel?) or is this simply impossible.
I've currently got all documents with an Session.LCID setting right on top of the page and it's got the value &H0413. On rare occasions (as today) it gives me the guilder currency instead of the euro currency (we used to have guilder before euro).
The regional settings at the server are set to use the Euro sign and the ASP documents got the &H0413. What's causing the hick-up that I all of a sudden now get the "fl." guilder-sign instead of the "€" euro sign?
Is there a difference between these notations:
&H0413 and 1043
I found both for Dutch language. It's not good since our company cannot print documents now coz the sign is wrong.
i use a IIS 5.1 with win XP with the newest updates etc. its possible to start aspx and html files but not asp files what could it be ? what can i check ?
Can a ASP work like a CGI.(Email Scripts) ? Can a ASP script for email will work, if a Script is on 1 server and form(html.form) is on another server and a thank you page is on 3rd server. Like if u don't know about a CGI there are many websites who give you permission to use their script by editing little bit in yours form and place them on yours server website, there are number of site.
And 1 more thing I want to ask is if some one use a windows server he have a form html on that server, can he run asp script which is on Linux server to get form result on his desired email id.
I am trying to construct a sub procedure that concects to db , executes a stored procedure and returns a recordset. Connection to db and executing the stored procedure works fine.
The problem is that when I call the sub in the asp page to be executed the recordset is refused to be returned from the sub and the recordset itself does not appear to be constructed. or in another words the error displayed is: 'object required' --> refering to my recordset --> 'rs'
I do not know why, can any one tell me the reason, I tried much but with no result. NOTE: For testing puropses I looped through the recordset isnide the sub itself and it worked fine Code:
Is there somebody who can explain to me how I can use a Global.asa to store Functions and Variables in it? I understand that there are 4 events that can be used in a global.asa : Application_OnStart, Application_OnEnd, Session_OnStart, Session_OnEnd
But still i don't get how i can CALL functions of variables. Because with those 4 things they start all in the beginning or in the end of a session or application.
For example i use an encrypt function in different pages, can i just put it in de global.asa and call it when i need it?
I have an asp page. In this there is a form when submit it have to chech if the fields are not emtpy.When it not empty it wil insert into a database an a mail.If a field is empty it send it anyway, it doens't do the validation. Here is a part of my code:Code:
<% if request("action") = "Verzenden" then datum = request("dtmmeldinghelp") if datum <>"" then 'I have tried also: if len(datum) <0 then response.Write("<html>" & "<body>" & "Fout" & "</body>" & "</html>") else ' here come my sql insert to code and the code for email ' this works fine %>
I am trying to add a button to a menu which it's action is conditioned by a session variable. The button shows up fine but I get no action from the button being clicked . The variable does have a valid value. If anyone can help me out with this it would be greatly appreciated. The code follows:
<SCRIPT LANGUAGE="VBScript" FOR="Button1" EVENT="onClick"> If Session("RVQuoteAuthority") = "Y" then Response.Redirect(Quote.asp) else MsgBox "No Authority" End If </SCRIPT>
Talking about the cdonts objects.. i want to send the email in windows xp.. i downloaded cdonts.dll and registered it.. but still i am not able to send the mail.. is it so that i need to set the settings in the Virtual SMTP server in IIS ?
I have not been working with ASP for too long at this time and am not real familiar with a lot of things about ASP. I have searched for articles on the following question but not come up with any definite answers. Code:
I am trying to get ASP to work with IIS and i keep getting page cannot be displayed when i try to open asp pages? Do i have some settings wrong somewhere?
I am using CDONTS to send mail to the user from my ASP application. However, the code doenst works all the time. I am able to get mails but nothing happnes most of the time. The code works maybe once in 20 tries. What could be the reason?
I have the following reference to an image in my web page. The name of the image is simply one Chinese character followed by .jpg. <a HREF="transfer/rad0/﨨.jpg" TARGET="_blank">﨨.jpg</a>
The Chinese character is HTML encoded. I'm specifically setting UTF8 encoding w/codepage 65001 in each web page. When I right click this URL and attempt to download the image to disk, I get an error saying the web server can't locate the URL. In the error message, the Chinese character is displayed as ? (question mark). It works if the URL has only ASCII characters in it.
What do I need to do to be able to download images via URLs that contain Chinese (Unicode) characters?