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 > Lawrence no; 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:

    
  1. Re: [WebDNA] How to get a screen size (Scott Walters 2009)
  2. Re: [WebDNA] How to get a screen size (Lawrence Banahan 2009)
  3. Re: [WebDNA] How to get a screen size ("scott@ideassoftware.com" 2009)
  4. Re: [WebDNA] How to get a screen size (System Administrator 2009)
  5. Re: [WebDNA] How to get a screen size (Govinda 2009)
  6. Re: [WebDNA] How to get a screen size (Lawrence Banahan 2009)
  7. Re: [WebDNA] How to get a screen size (Govinda 2009)
  8. [WebDNA] How to get a screen size (Lawrence Banahan 2009)
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 > Lawrence no; 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:

Email within tmpl ? (1997) Show shoppingcart after remove last item (1997) Sort Order on a page search (1997) Emailer help....! (1997) WebCat Code and WebStar Search? (2000) Change in Host? (1999) OT: Amazon Patents (2000) Carrying Forward (1998) Sorry I didn't pay attention-but ??? (1997) Re:What file? (1997) setcookie getcookie on the same page (2003) Table code broken? (2004) Cookie Expires - nevermind (2004) [WebDNA] writefile (2009) Online reference (1997) Sorting by highest number of matches unique to a field (2003) wc 2 pro users - sites, quotes wanted (1997) [WebDNA] Code Library (2013) numfound question (2005) Sorting problem (2002)