Re: Safari browser and WebDNA set-cookies
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 46731
interpreted = N
texte = More than likely because (from my recollection) setcookie doesn't work when:1- You need to redirect to a different page;2- You have to set your own mime headers.If I am correct, and if Palle is doing either of these tasks, then it seems like his solution is the only one that will actually work the way he wants it to ...>Why are you going to all this return raw effort...>>Use the SetCookie...>>On 1/7/03 1:42 PM, Palle Bo Nielsen
wrote:>>> Okay my Cookie code is like this...>>>> [ReturnRaw]HTTP/1.0 302 Found[unurl]%0D%0A[/unurl]Set-Cookie:>> macnyt=[lookup>> db=/databases/>> profile.db&value=[db_email]&lookinfield=db_email&returnfield=db_serialnu>> mber]; path=/; expires=[format days_to_date %A,>> %d-%b-%Y][math]{[date]}+{01/00/0000}[/math][/format] [hideif>> [browsername]^MSIE][unurl]%0D%0A[/unurl][/hideif] [math>> time]{[time]}-{2:00:00}[/math] GMT&path=/; domain=[GETMIMEHEADER>> Host][unurl]%0D%0A[/unurl]Location: http://[GETMIMEHEADER>> Host][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw]>>>> This does not work in Safari...>>>> Any help would be appreciated :)>>>> PowerPalle>>>>>> On tirsdag, jan 7, 2003, at 22:31 Europe/Copenhagen, Sam Lewis wrote:>>>>> Not sure about cookies but this might be related. Safari doesn't pass>>> authentication info to sub-pages of a site.>>>>>> If I log-in to my intranet and then go to a sub-page on that site my>>> [username] is not available. I believe that Safari is not including>>> the authentication info in the request.>>>>>> So I could imagine that the cookie is being set but not returned on>>> subsequent requests. That would be akin to what I'm seeing with>>> authentication.>>>>>> I think they've got a long way to go with that iapp.>>>>>> Sam>>>>>>>>>> Hi all,>>>>>>>> Been discussing this with a lot of other webmasters this night. The>>>> new Safari webbrowser from Apple seems to have some problems with>>>> Cookies. Any other WebDNA site experienced problems with Cookies?>>>>>>>> I think I have a clean WebDNA Cookie code, which works with all other>>>> browsers but it won't set the Cookie's with Safari...>>>>>>>> PowerPalle>>>>>>>>>>>>>>Jay Van Vark>'Guiding Positive Change in High-Tech Companies'>one box voicemail (866) 248-7670 x 6471>efax (801) 659-7952>>-- Great tool for advertising bid optimization, check out:>http://www.Promote4Less.com>>>>------------------------------------------------------------->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/Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
More than likely because (from my recollection) setcookie doesn't work when:1- You need to redirect to a different page;2- You have to set your own mime headers.If I am correct, and if Palle is doing either of these tasks, then it seems like his solution is the only one that will actually work the way he wants it to ...>Why are you going to all this return raw effort...>>Use the SetCookie...>>On 1/7/03 1:42 PM, Palle Bo Nielsen wrote:>>> Okay my Cookie code is like this...>>>> [returnraw]HTTP/1.0 302 Found[unurl]%0D%0A[/unurl]Set-Cookie:>> macnyt=[lookup>> db=/databases/>> profile.db&value=[db_email]&lookinfield=db_email&returnfield=db_serialnu>> mber]; path=/; expires=[format days_to_date %A,>> %d-%b-%Y][math]{[date]}+{01/00/0000}[/math][/format] [hideif>> [browsername]^MSIE][unurl]%0D%0A[/unurl][/hideif] [math>> time]{[time]}-{2:00:00}[/math] GMT&path=/; domain=[GETMIMEHEADER>> Host][unurl]%0D%0A[/unurl]Location: http://[GETMIMEHEADER>> Host][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw]>>>> This does not work in Safari...>>>> Any help would be appreciated :)>>>> PowerPalle>>>>>> On tirsdag, jan 7, 2003, at 22:31 Europe/Copenhagen, Sam Lewis wrote:>>>>> Not sure about cookies but this might be related. Safari doesn't pass>>> authentication info to sub-pages of a site.>>>>>> If I log-in to my intranet and then go to a sub-page on that site my>>> [username] is not available. I believe that Safari is not including>>> the authentication info in the request.>>>>>> So I could imagine that the cookie is being set but not returned on>>> subsequent requests. That would be akin to what I'm seeing with>>> authentication.>>>>>> I think they've got a long way to go with that iapp.>>>>>> Sam>>>>>>>>>> Hi all,>>>>>>>> Been discussing this with a lot of other webmasters this night. The>>>> new Safari webbrowser from Apple seems to have some problems with>>>> Cookies. Any other WebDNA site experienced problems with Cookies?>>>>>>>> I think I have a clean WebDNA Cookie code, which works with all other>>>> browsers but it won't set the Cookie's with Safari...>>>>>>>> PowerPalle>>>>>>>>>>>>>>Jay Van Vark>'Guiding Positive Change in High-Tech Companies'>one box voicemail (866) 248-7670 x 6471>efax (801) 659-7952>>-- Great tool for advertising bid optimization, check out:>http://www.Promote4Less.com>>>>------------------------------------------------------------->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/Sincerely,Kenneth Grome---------------------------------------------------WebDNA Professional Training and Development Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines http://www.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 Web Archive of this list is at: http://webdna.smithmicro.com/
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:
[convertChars] and HTML Tags (1997)
Resetting a Formvariable (2000)
[WebDNA] php/mySQL version of WebDNA Speed Test? (2009)
Summing fields (1997)
Uploading Files (2000)
WebCat chatroom (1997)
unique ID (1997)
Explorer 3.0 (1997)
grep question - how to strip spaces from the beginning of a (2002)
re: [addlineitem] working almost (1997)
Lookup within a Search (2005)
PCS Frames (1997)
Sub Categories (2000)
Faxing orders in place of email (1997)
WebCatalog 4.0.1 has been released! (2000)
Timer Values on [redirect] (1998)
max page views Mac can handle (1999)
WebCat2 beta 11 - new prefs ... (1997)
Emailer setup (1997)
SetCookie / GetCookie Problem.... (2004)