Re: any suggestions for creating a multi-lingual site?
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25686
interpreted = N
texte = > > As I would prefer not to pass the langauge choice in the URL >(trying to keep> > the URLs as clean as possible) it would seem that I need to read the cookie> > on each page. Having never worked with cookies before, is there a> > performance penalty to doing this? Or is the cookie in memory once it is> > read the first time?>>Use the headers. You have 40 of them and you can even stock more than one>variable in each of them, if you have the technique (that is not that hard).>>You can stock the cart value in a cookie. You can also stock other variables>in different cookie. Cookies are usually retrieved by the browsers at>startup and there should be no performance penalty. Only problem: what if>somebody does not allow cookies to be set?A cool way to pass things is to use the MIME headers, which you can do with a combo of [SETMIMEHEADER] and [LISTMIMEHEADERS].On page one (where you would set your cookie), set a MIME header:[SETMIMEHEADER name=myCoolName&value=myValue]On the next page read your value with:[ListMIMEHeaders name=myCoolName&exact=T] ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
> > As I would prefer not to pass the langauge choice in the URL >(trying to keep> > the URLs as clean as possible) it would seem that I need to read the cookie> > on each page. Having never worked with cookies before, is there a> > performance penalty to doing this? Or is the cookie in memory once it is> > read the first time?>>Use the headers. You have 40 of them and you can even stock more than one>variable in each of them, if you have the technique (that is not that hard).>>You can stock the cart value in a cookie. You can also stock other variables>in different cookie. Cookies are usually retrieved by the browsers at>startup and there should be no performance penalty. Only problem: what if>somebody does not allow cookies to be set?A cool way to pass things is to use the MIME headers, which you can do with a combo of [setmimeheader] and [listmimeheaders].On page one (where you would set your cookie), set a MIME header:[SETMIMEHEADER name=myCoolName&value=myValue]On the next page read your value with:[ListMIMEHeaders name=myCoolName&exact=T] ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Christer Olsson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCatalog can't find database (1997)
TCPConnect / Current Temperature (2004)
international time (1997)
passing search criteria (1997)
Check boxes (1997)
Off Topic: Frames Killer? (1998)
Using WebCat for product info requests (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
user submitted data REPOST (2000)
ReadDateFormat bug in 3.0.1 (1998)
Webcat and other cgi (2000)
Server Freeze (1998)
[WebDNA] Installing 7.1.702 on CentOS (2012)
WebMerchant 1.6 and https (1997)
Did you hear about this? (1997)
Running 2 two WebCatalog.acgi's (1996)
Append File help needed: example (2000)
[BULK] [WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011)
Sort Order on a page search (1997)
Banners (1997)