Re: handling cookies in and out of secure space
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28587
interpreted = N
texte = >If I have a [spawn] on a secure page which has inside it a [redirect] to a non-secure page which has on that non-securepage a [setcookie]...>will that work to keep the remote browser happily ignorantly viewing the secure page while webcat is busy setting his cookie via the nonsecure domain and path?No, this won't work.In this scenario webcat should try to redirect inside the [spawn] context, but since the request has already been spawned it is no longer 'connected' to the browser anyways -- so it won't have any affect on the browser at all -- which is the exact same result as if you didn't have the [spawn] context in there to begin with.>What I am ultimately after is to be able to [getcookie] on a non-secure page which I cannot initially set until the user has landed on a secure page (and I don't want to ask him to go back to another non-secure page just so I can set the cookie with the right domain and path. Can I use the above technique... or some other suggestion(s)?Why don't you just set the cookie on an intermediate page that has a
tag in it that's set to a time of zero seconds, and give the visitor a link to click in case the meta tag doesn't work for some reason?================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
>If I have a [spawn] on a secure page which has inside it a [redirect] to a non-secure page which has on that non-securepage a [setcookie]...>will that work to keep the remote browser happily ignorantly viewing the secure page while webcat is busy setting his cookie via the nonsecure domain and path?No, this won't work.In this scenario webcat should try to redirect inside the [spawn] context, but since the request has already been spawned it is no longer 'connected' to the browser anyways -- so it won't have any affect on the browser at all -- which is the exact same result as if you didn't have the [spawn] context in there to begin with.>What I am ultimately after is to be able to [getcookie] on a non-secure page which I cannot initially set until the user has landed on a secure page (and I don't want to ask him to go back to another non-secure page just so I can set the cookie with the right domain and path. Can I use the above technique... or some other suggestion(s)?Why don't you just set the cookie on an intermediate page that has a tag in it that's set to a time of zero seconds, and give the visitor a link to click in case the meta tag doesn't work for some reason?================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Kenneth Grome
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:
Re2: frames & carts (1997)
WC2.0 Memory Requirements (1997)
OT: 4.5 Unix License Value? (2004)
Re1000001: Setting up shop (1997)
Help! WebCat2 bug (1997)
Where can I download to test? (2003)
Re:Remote stockroom ? (1998)
Location of Webcat site in folder hierarchy (1997)
Calculating multiple shipping... (1997)
Location of Browser Info.txt file (1997)
Download capabilities (1997)
Email Attachments (1998)
ListFiles (1998)
carriage returns in data (1997)
Need help with emailer- 2 issues (1997)
[ShowIf] and empty fields (1997)
setheader and retrieve it immediatly (2001)
Webcat 2.0.1 date math bug -> Crash! (1997)
Root Folder problems cont. (1998)
Help! WebCat2 bug (1997)