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 Consultant 808-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:

    
  1. Re: handling cookies in and out of secure space (Kenneth Grome 2000)
  2. Re: handling cookies in and out of secure space (Jesse Williams Proudman 2000)
  3. handling cookies in and out of secure space (John Butler 2000)
>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 Consultant 808-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:

Using "/" for path to virtual host root ? (2003) [WebDNA] Math variables (2016) WebDNA Solutions ... sorry! (1997) Getting Crazy (1998) Re:Can this be done? (1997) sendmail and accented characters (1998) Possible Macv2.1b2 Merge Bug (1997) Who owns the code? (2002) Requiring that certain fields be completed (1997) Error:Too many nested [xxx] contexts (1997) Initiating NewCart (1997) WebTV (1998) Emailer on NT CAN'T handle large email files (1997) I'm having trouble using [url][interpret][math] together in lookup (1997) Search syntax question (1998) Help! WebCat2 bug (1997) authorize.net SIM & AIM Sample Code (2002) Threaded Discussion (1998) New iMac, now ... how do I make webdna serve .html files? (2005) RE: Answer: WebDelivery downloads alias, not original ? (1997)