International chars and session timeout...
International chars and session timeout...
- Subject: International chars and session timeout...
- From: Ondra Cada <email@hidden>
- Date: Sun, 19 Jun 2005 18:38:18 +0200
Hello all,
till now, I've used some home-brew tricks to ensure international
characters were shown. Now, I've tried (agreeably *much* more
elegant) approach of http://www.wodev.com/cgi-bin/WebObjects/
WODev.woa/wa/Main?wikiPage=InternationalCharacters -- in short, the
trick is to set up properly the content-type header of the response.
All well and swell, but I do have two questions:
(i) less important: why the WODev recommends to put the
appendToResponse/takeValuesFromRequest stuff into Session? At the
first look it seems in Application it should work just as well, and,
in my testing, it proves so. Have I overlooked anything?
(ii) more important: when the session times out and client clicks the
standard "Re-enter <appname>" link of the standard "Your session has
timed out" page, *the international characters do NOT work*. Adding a
few NSLogs I've found an easy answer: the overridden appendToResponse
method is in this case not called when the Main page is generated
(regardless whether it is in Application or in Session, so this is
not the answer to (i)). The very same problem is caused by using a
WORedirect. I must frankly admit I do not understand this: how the
heck comes?!? Far as I understand the R/R loop, I did think
application's appendToResponse should be used *every* time a response
is generated: what do I overlook here?!?
(Incidentally, OSX 10.4.1, WO 5.2.4)
Thanks a lot for any insight,
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden