Re: autosensing lanague selection

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11336
interpreted = N
texte = >>Has anyone figured out how to autosense the user's selected language >>(which is communicated in the http header) so content can be delivered in >>their selected language if available? > >What are the exact headers? This sounds like a cool addition to WebDNA -- >the ability to display HTTP header information so you can use it inside >[ShowIf], etc. I'm not sure yet how the CGI can get at that information, >but it sounds interesting...Accept-Language: en, seWould be really good if we could get the header - and set custom headers. That would make us able to use cookies (if you don make a [SETCOOKIE] and [READCOOKIE] first :-)) ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: autosensing lanague selection (Christer Olsson 1997)
  2. Re: autosensing lanague selection (Grant Hulbert 1997)
  3. Re: autosensing lanague selection (Olin 1997)
  4. Re: autosensing lanague selection (Kenneth Grome 1997)
  5. autosensing lanague selection (Olin 1997)
>>Has anyone figured out how to autosense the user's selected language >>(which is communicated in the http header) so content can be delivered in >>their selected language if available? > >What are the exact headers? This sounds like a cool addition to WebDNA -- >the ability to display HTTP header information so you can use it inside >[showif], etc. I'm not sure yet how the CGI can get at that information, >but it sounds interesting...Accept-Language: en, seWould be really good if we could get the header - and set custom headers. That would make us able to use cookies (if you don make a [SETCOOKIE] and [READCOOKIE] first :-)) ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se 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:

Nutscrape Doesn't Render Right (2002) encryption in browser? (1998) WebCat2: Found Items syntax, etc. (1997) Generating unique SKU from [cart] - Still Stumped... (1997) Problems with [Applescript] (1997) Setting up shop (1997) Generating Options for a Form. (1997) Add to Cart & List of Products (1997) Wrapping text (1998) The word TYPE in search contexts and fields (1998) SSL (1998) ShowNext example for GeneralStore (1997) Further tests with the infamous shipCost (1997) Summing fields (1997) More questions about serial number dishing (1997) [countWords]? (1997) WebCatalog 4.0.1 has been released! OSXS (2000) Exclamation point (1997) WebCat2.0 [format thousands .0f] no go (1997) Trouble with formula.db (1997)