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 =outLawrence<=/span>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 advanceLawrencedo 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 =toSet-Cookie:andLocation:-Govinda---------------------------------------------------------This message is sent to you because you are =subscribed tothe 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==
|
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 =outLawrence<=/span>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 advanceLawrencedo 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 =toSet-Cookie:andLocation:-Govinda---------------------------------------------------------This message is sent to you because you are =subscribed tothe 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==
DOWNLOAD WEBDNA NOW!
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...