• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
International chars and session timeout...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • [SOLVED (kind of)]: International chars and session timeout...
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: create Installer for WebObjects Application
  • Next by Date: [SOLVED (kind of)]: International chars and session timeout...
  • Previous by thread: Re: No "--" in comments: something new in Java, Project Builder or WO ?
  • Next by thread: [SOLVED (kind of)]: International chars and session timeout...
  • Index(es):
    • Date
    • Thread