Go Back   catalyst2 hosting forums > Support > Scripting Support

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-05-2003, 04:15 PM   #1
fbridge
Registered User
 
fbridge's Avatar
 
Join Date: Apr 2003
Posts: 107
Response Object

I see in the MS docs for ASP they mention
Response.CodePage
Response.LCID

Object doesn't support this property or method: 'Response.LCID'
I cannot get these to work on the catalyst servers. Anyone got any ideas as to why?

Regards
FB
__________________
old dog - anxious to learn new tricks
fbridge is offline   Reply With Quote
Old 13-05-2003, 08:57 PM   #2
Jenny
Senior Member
 
Jenny's Avatar
 
Join Date: Jan 2003
Location: Stockholm, Sweden
Posts: 277
Send a message via MSN to Jenny
There is nothing wrong with C2s ASP.

There is no LCID or CodePage method in the Response object, but in the Session object. So you should use Session.LCID and Session.CodePage. Or you can use <%@ LCID = CountryID %> and <%@ CODEPAGE = Codepage%> at the very beginning of the script.

Jenny
Jenny is offline   Reply With Quote
Old 13-05-2003, 09:28 PM   #3
fbridge
Registered User
 
fbridge's Avatar
 
Join Date: Apr 2003
Posts: 107
Oh OK then it must Microsoft's fault. I was just going on information provided by the illustrious software manufacturer outlined in great detail and even peppered with examples. They do show a difference between the Session.LCID and the Response.LCID and Codepage etc.

Here are the examples
Response.LCID
http://msdn.microsoft.com/library/de...om_resoplc.asp

Session.LCID
http://msdn.microsoft.com/library/de..._sesoplcid.asp

Regards
FB
__________________
old dog - anxious to learn new tricks
fbridge is offline   Reply With Quote
Old 14-05-2003, 07:29 PM   #4
Jenny
Senior Member
 
Jenny's Avatar
 
Join Date: Jan 2003
Location: Stockholm, Sweden
Posts: 277
Send a message via MSN to Jenny
Perhaps they have added the CodePage/LCID properties to the Response object in IIS6.0 (Windows 2003 Server), but in IIS5 (Win2K) there is really no such property. And C2 is using Win2K/IIS5 on it's Windows boxes until now.

So the MS information is not wrong, but misunderstandable and not very acurate in it's version statments.

Jenny
Jenny is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump