Re: [WebDNA] How to get a screen size
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103740
interpreted = N
texte = On Oct 4, 2009, at 12:00 PM, Lawrence Banahan wrote:> My problem is to set up cookie with information coming from the > client before it start loading the page.> So I shall need to do it from the client side, so Javascript I > suppose, but I thought that I could setup cookie with JS before the > [redirect url] ould hit.> So it is not a Webcatalog problem, but I have no idea how to sort > this out> Lawrenceno; you are right.. that any webdna, including [redirect], will completely evaluate before anything of the client side will evaluate. So I would guess that you want to use js to both set the cookie and then redirect. (if that makes sense..; I rarely use js and don't know if there are issues about setting a cookie before redirecting, on the same page load, with js).
Associated Messages, from the most recent to the oldest:
On Oct 4, 2009, at 12:00 PM, Lawrence Banahan wrote:> My problem is to set up cookie with information coming from the > client before it start loading the page.> So I shall need to do it from the client side, so Javascript I > suppose, but I thought that I could setup cookie with JS before the > [redirect url] ould hit.> So it is not a Webcatalog problem, but I have no idea how to sort > this out> Lawrenceno; you are right.. that any webdna, including
[redirect], will completely evaluate before anything of the client side will evaluate. So I would guess that you want to use js to both set the cookie and then redirect. (if that makes sense..; I rarely use js and don't know if there are issues about setting a cookie before redirecting, on the same page load, with js).
Govinda
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:
[WebDNA] Use of :global: (2013)
[WriteFile] problems (1997)
showcart context? (1998)
Two submit buttons ? (1997)
Calculating multiple shipping... (1997)
automatic reload of frameset (1997)
Dubble Sku's in a Database (1999)
[WebDNA] 64-bit Debian 6 with Lighttpd and WebDNA 7.1 (2012)
Strange error (2000)
Multi-Row Tables from a search. (1997)
OT: Weird table rendering w/ WebCat in Explorer (2005)
Gone fishin' (was The Robert Elliot Report?) (2006)
Make sure I understand this??? (1997)
Cart/ Form Use (1998)
[WebDNA] Help with ReplaceFoundItems (2009)
Re[3]: Re[3]: Problem with new formvariables (2000)
Compressed cookies? (2003)
Unix DB Permission Error (2002)
Problem displaying search result (1997)
did I miss anything (1997)