Session.Lcid
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
View Replies
ADVERTISEMENT
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?
View Replies
View Related
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.
Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code: .....
View Replies
View Related
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 .
View Replies
View Related
The problem is, even when i set the LCID property at the
beginning of my code, it always returns the date in
brazilian date format. Example:
<% @Language=VBSCript %>
<% Session.LCID=1033 %>
<% Response.write (now & "<BR>" & Session.LCID) %>
This code should return:
MM/DD/YYYY HH:MM AM or PM
1033
But itīs returning:
DD/MM/YYYY HH:MM
1033
Do you see? The LCID is correct but it keeps showing the
date in brazilian format? What the hell is happenning?
View Replies
View Related
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
View Replies
View Related
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:
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
Does anybody know how to determine a user's country or LCID in an asp page?
I've found some articles on using:
Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
but somehow this doesn't seem like a foolproof method to me.
View Replies
View Related
What's the LCID value for Euro ?
View Replies
View Related
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.
View Replies
View Related
how to find the session expired or not without using any session varaibles?
View Replies
View Related
I have a site that I'm trying to migrate to ASP.NET from ASP, and the
foremost stumbling block I'm hitting is session state between the ASP
and ASP.NET applications. In order to access this information, I'm
doing a HttpWebRequest from the ASP.NET side into an .asp page,
passing the session name on the get in order to request it from the
ASP side and write it back to the response stream, giving ASP.NET
access to it. Of course I change sessions each time I make the call
from the ASP.NET side.
Soooooo, I'm thinking to myself, "Self, shouldn't you be able to fake
out the server by getting the session cookie from the initial usage of
the asp, pass that data to the ASP.NET, and use that to send a request
back the ASP side under the appropriate session?"
From a real high level, I enter the site via a .asp page. This page
in turn calls .aspx page from within a frame ......
View Replies
View Related
I want to create an administration page which lists all the current users who are on the site at the moment.
I know coldfusion has this feature built in using the SessionTracker class... does ASP have something similar? If not... is there any way I can just iterate through all the session files on the server...?
View Replies
View Related
I have a site developed using ASP, but each page I enter has a different session id when accessing the site using the domain name of the site. When accessing the site from my network and using the internal IP address, it is OK. Any ideas?
View Replies
View Related
I want the suggestion what is better for use between:
Session.abandon
&
Session.Contents.Remove
View Replies
View Related
I wrote a website, which uses the session to store and track some vars.
Now I am gonna to covert it to desktop application by Activesite compiler 5, however, it doesnot support session , cookie , application() . SO ,I have no idea to find something can instead of session.
My orignal processing: Session -> modify Session var -> store to Database.
View Replies
View Related
There is a problem about ASP session ID. ASP session is implemented by storing session id in a session cookie, but I read this cookie in ISAPI Filter, get a string as following:
ASPSESSIONIDQADCQQTS = IAOFCBBCGDGMDGCNJIKPNBAN
But the real session ID is 554851848. (Real sessionID is sessionID property the ASP session object)
Problem is what is relation between them? And how to get real session ID from cookie session ID.
View Replies
View Related
I did a session("adminlogin")=1, if I post it to the same page, it returns true. But if I response.redirect to another page. This value doesn't exist anymore. This is on the actual server where all the ms security is updated.
The same script worked okay on my test server (the security patch not patched yet.)
Has anyone encountered this? How do you overcome it?
I tried searching the net it says the problem lies with a ms security patch. How I wish I can unintall that patch.
View Replies
View Related
when does a sesson object expire?
- at the end of 20 minutes
- after they close their browser ? does that end the session?
View Replies
View Related
I have a home page in html with two buttons to call my main.asp in another window my problem is:
1-From my home page I open another web page my main menu, this new page have a SessionID. (OK)
2-If I open another web page from the same home page, this new page have the same SessionID as the page open in first step
I want to get a new SessionID for every page I open from my home page and don't want to abandon the first session...
View Replies
View Related
I have asp and asp.net web application. When I run it in IE7 in first tab it
starts a new session. When I open second tab and browse to the same site the
new session is not started (infact I need to have new session there).
Whereas, 2 IE instances generate 2 unique sessions. Only issue is with IE
tabs. Firefox also has similar things but lets not talk about firefox here.
I am more concerned with IE only.
View Replies
View Related
In my login script I set session("User") = rs("User") the session timeout is set to 20 min
Do I need to setup some kind of update session variable on each page so that the timeout does run out or does iis update the variable aslong as I'm browsing the website ?
And another thing, <% application("something") %> works fine on my test server but once I implement it onto the main webserver I dont get any text out, is there some kind of switch that enables this function ?
View Replies
View Related
How can I know if a user session had timed out ?
I always get an error in my asp page when I try to access
my session variable if it timed out.
View Replies
View Related
My buttons default as you can see in the code. But I now want to take what is already choosen in database and chose apropriate button. Can I use a session to choose a radio button?
Code:
<TD><b><font face="Arial" color="#000080">Password</TD>
<TD><input type ="text" value="<%=Password %>" input name="Password" size="50" ><input type ="Hidden" value="<%=userNumber %>" input name="userNumber" size="50" ></TD>
</TR>
<TR>
<TD><b><font face="Arial" color="#000080">Billing Choice</font></b></TD>
<TD><fieldset style="padding: 2">
<input type="radio" value="Monthly" checked name="R1">Monthly
<input type="radio" name="R1" value="Quarterly">Quarterly
<input type="radio" name="R1" value="Annually">Annually</fieldset><p>Hold
Billing Date <input type="text" name="NextBillDate" size="20" Value=<%=NextBillDate%>></TD>
</TR>
View Replies
View Related
I am using the session(loggedin) to see if a user is logged into that section of the site. The problem is that it is timing out on them, is there a way to define the length of the session (I think it times out at 10 or 20 mins currently), but to extend it to an hour or so. Any thoughts.
View Replies
View Related
I've developed a shopping cart app in ASP, to secure transaction by SSL, it 've put only the checkout page in SSL but all other pages i.e. product, cart etc remains on non SSL connection. How can I track user session from non SSL to SSL checkout page as the SessionID changes when shifting to SSL (to prevent session stealing/ hijacking). I'm tracking user session by putting SessionID in cart DB with products. Given below the preview of cart table ....
View Replies
View Related
I'm trying to only show part of my page based on a variable, I have two
Session Variables -
Session("EMPLOYEEMAXUSERS")
Session("EMPLOYERUSERS")
Now what I'm trying to do is -
ShowIf Session("EMPLOYERUSERS") < Session("EMPLOYERMAXUSERS")
I can't get this to work though
View Replies
View Related
I have a page that a user is logged in via a session that displays a thumbnail of a picture. The picture is a link to the full size image. When there is no target="_blank" in the code, it works fine.... except it needs to open in a new window. When I add target="_blank" the new open browser window seems to act as a whole new session (even though no session.abandon or anything had been called).
I need it to keep the session, but in a new window.
What do I need to do, and why is it doing this?
Is a JavaScript window opener the (only) way to go?
View Replies
View Related
is it okay to store password in session variable??any risk with this
View Replies
View Related
I'm building a Shopping Cart, but then right away i've stumbled on a little problem. I need to Hold things a costomer is buying in a session. However I can't declare Session as an Aray.
Session("item_id")(2) doesn't work- right? So i was thinking maybe I can create an aray, and then somehow hold it's reference in a session("item_id"). I will apreciate if someone can show me how to save aray into the session, and how to extract it from there later on.
View Replies
View Related
I'm setting up 2 websites for a friend of mine, en I'm have problems with
one of the sites.The situation: I have 2 different domains (both in the .NL domain). Both
domains provides the possibility for users to log in. The loginscript and
the databases are hosted at server 1. The site at server 2 contains a link
to the loginpage at server 1. That works well... so far.
The problem is that when I log in at server 2, he doesn't accept it. I found
out that the Session variable I use isn't recognised. I use
Session("protected") to keep track of the users who are logged in. When
there credentials are right according to the database,
Session("protected")=True and the loginpage gives a redirection to
partner.asp by doing Response.Redirect "partner.asp". Trying to log in from
server 1 works fine, trying to log in from server 2 doesn't.
My questions therefore are:
1. Is the Session variable rememberd by server 2 (although server 1 contains
the loginpage en gives a redirection to a page on server 1)
2. What can I do to correct this problem?
Your answers are appreciated, and sorry for the possible worse language in
this message (English is not my native language ;))
View Replies
View Related