Re: Cookies, checking if's enabled...
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58875
interpreted = N
texte = For some sites, If I don't find a cookie, I go to a 'set cookie' pageand redirect back. You might want to pass a flag in the URL forthose 'block cookie' conditions.- JimOn Jul 26, 2004, at 11:38 AM, Kenneth Grome wrote:> You cannot set a cookie them test to see if it's set in the same page. > You must test for the cookie on the next page ...>>>> Im trying to test if the cookies are enabled in the>> browser.. Its supposed that the browser can be Mozilla, IE, or >> Safary....>> I tested with this code at the begining of the page....>>>> [setcookie name=TestCookie&value=555&path=/]>> [if [getcookie name=TestCookie]!555][then]>> [redirect url=cookies.html]>> [/then][/if]>>>> But not work.>>-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
For some sites, If I don't find a cookie, I go to a 'set cookie' pageand redirect back. You might want to pass a flag in the URL forthose 'block cookie' conditions.- JimOn Jul 26, 2004, at 11:38 AM, Kenneth Grome wrote:> You cannot set a cookie them test to see if it's set in the same page. > You must test for the cookie on the next page ...>>>> Im trying to test if the cookies are enabled in the>> browser.. Its supposed that the browser can be Mozilla, IE, or >> Safary....>> I tested with this code at the begining of the page....>>>> [setcookie name=TestCookie&value=555&path=/]>> [if [getcookie name=TestCookie]!555][then]>> [redirect url=cookies.html]>> [/then][/if]>>>> But not work.>>-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Jim Lanford
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:
Not reading code (1997)
Re:quit command on NT (1997)
Help name our technology! (1997)
Initiating NewCart (1997)
WebCatalog for guestbook ? (1997)
problems with 2 tags (1997)
help (2001)
PCS Customer submissions ? (1997)
Search inside Include (1998)
[unitshipcost] values do NOT write to orderfile (1998)
Multiple Newcarts (1996)
Counting LineItems (2000)
Opinion: [input] should be called [output] ... (1997)
Using webcat to roll apache logs (2002)
Parameter vs. Operator (1998)
[MATH] and Dates (1998)
4.0.1 BugFix List ? (2000)
Merry Christmas (2003)
WebCat editing, SiteGuard & SiteEdit (1997)
!@#$$@@# formulas database, tax and freight. (2002)