What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] How to get a screen size

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103739
interpreted = N
texte = --Apple-Mail-1--653354409 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed My problem is to set up cookie with information coming from the =20 client before it start loading the page. So I shall need to do it from the client side, so Javascript I =20 suppose, but I thought that I could setup cookie with JS before the =20 [redirect url] ould hit. So it is not a Webcatalog problem, but I have no idea how to sort =20 this out Lawrence Le 4 oct. 09 =E0 17:04, Govinda a =E9crit : >> Hi, >> >> This is a sort of javascript problem, but it get into my feet with =20= >> webdna. >> I have a first page that set cookies using webdna and then =20 >> [redirect url] >> I wish to get the screen size information in order to selectwhat =20 >> size should be background image. >> I'm a nubbie to jscript, but I managed to found how to get the =20 >> screen size and to set it as a cookie, but I can't set that cookie =20= >> even when it comes before the [redirect url]. >> As any one got an idea how I could get this work... >> Thanks in advance >> Lawrence > > do you mean to say that you can [setcookie] fine, and also =20 > [redirect] fine, but just not both? > if so, then - what version of webdna are you using? > if I remember right, some (older) versions could not [setcookie] =20 > and [redirect] on the same page. In those cases people sometimes =20 > used [returnraw] as a workaround to then be able to > Set-Cookie: > and > Location: > > -Govinda > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?=20 > page=3Dtopics&category=3D288 --Apple-Mail-1--653354409 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 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


Le 4 oct. 09 =E0 17:04, Govinda a = =E9crit :

Hi,

This is = a sort of javascript problem, but it get into my feet with = webdna.
I have a first page that set = cookies using webdna and then [redirect url]
I wish to get the screen size information in order = to selectwhat size should be background image.
I'm a nubbie to jscript, but I managed to found how = to get the screen size and to set it as a cookie, but I can't set that = cookie even when it comes before the [redirect url].
As any one got an idea how I could get this = work...
Thanks in advance
Lawrence

do you mean = to say that you can [setcookie] fine, and also [redirect] fine, but just = not both?
if so, then - what version of = webdna are you using?
if I remember right, some = (older) versions could not [setcookie] and [redirect] on the same = page.  In those cases = people sometimes used [returnraw] as a workaround to then be able = to
Set-Cookie:
and
Location:

-Govinda
---------------------------------------------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/
Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288=

= --Apple-Mail-1--653354409-- 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)
--Apple-Mail-1--653354409 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed My problem is to set up cookie with information coming from the =20 client before it start loading the page. So I shall need to do it from the client side, so Javascript I =20 suppose, but I thought that I could setup cookie with JS before the =20 [redirect url] ould hit. So it is not a Webcatalog problem, but I have no idea how to sort =20 this out Lawrence Le 4 oct. 09 =E0 17:04, Govinda a =E9crit : >> Hi, >> >> This is a sort of javascript problem, but it get into my feet with =20= >> webdna. >> I have a first page that set cookies using webdna and then =20 >> [redirect url] >> I wish to get the screen size information in order to selectwhat =20 >> size should be background image. >> I'm a nubbie to jscript, but I managed to found how to get the =20 >> screen size and to set it as a cookie, but I can't set that cookie =20= >> even when it comes before the [redirect url]. >> As any one got an idea how I could get this work... >> Thanks in advance >> Lawrence > > do you mean to say that you can [setcookie] fine, and also =20 > [redirect] fine, but just not both? > if so, then - what version of webdna are you using? > if I remember right, some (older) versions could not [setcookie] =20 > and [redirect] on the same page. In those cases people sometimes =20 > used [returnraw] as a workaround to then be able to > Set-Cookie: > and > Location: > > -Govinda > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?=20 > page=3Dtopics&category=3D288 --Apple-Mail-1--653354409 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 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


Le 4 oct. 09 =E0 17:04, Govinda a = =E9crit :

Hi,

This is = a sort of javascript problem, but it get into my feet with = webdna.
I have a first page that set = cookies using webdna and then [redirect url]
I wish to get the screen size information in order = to selectwhat size should be background image.
I'm a nubbie to jscript, but I managed to found how = to get the screen size and to set it as a cookie, but I can't set that = cookie even when it comes before the [redirect url].
As any one got an idea how I could get this = work...
Thanks in advance
Lawrence

do you mean = to say that you can [setcookie] fine, and also [redirect] fine, but just = not both?
if so, then - what version of = webdna are you using?
if I remember right, some = (older) versions could not [setcookie] and [redirect] on the same = page.  In those cases = people sometimes used [returnraw] as a workaround to then be able = to
Set-Cookie:
and
Location:

-Govinda
---------------------------------------------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/
Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288=

= --Apple-Mail-1--653354409-- Lawrence Banahan

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:

[OT] help with a javascript alert (2003) Formating found categories (1997) Giving out error pages (1997) limitation found on group searching (1997) corrupted jpgs (2003) More than one db with the same namn (was: WC2f3) (1997) Revisit: speed test (2002) WebCatalog for guestbook ? (1997) Emailer again (1997) RE: pop up building with summarize (1998) WebCatalog can't find database (1997) Help with Repost Data msg from form (1997) b18 problem on NT 4.0 (1997) [WebDNA] Local Development On Windows 8.1 (2015) Location of Webcat site in folder hierarchy (1997) Here's how to kill a Butler Database. (1997) rn doesn't work on date fields (1998) Incrementing a number (1998) Sorting Numbers (1997) WebCat2b15MacPlugin - [protect] (1997)