[TYPO3-german] Seltsame Cookie-Auswertung

chris Wolff chris at connye.com
Thu Jun 20 21:59:13 CEST 2013


Hi ist es absicht das du den cooike einmal mit GP und einmal global: holst?
gruss chris


Am 11. Juni 2013 16:53 schrieb Ralf Schlömer, TYPO3-Mailing-List
<typo3 at ralfschloemer.de>:
> Hi Liste,
>
>
>
> ich frage per TS den Wert eines Cookies einmal in einem if ab
>
>
>
> 10 = COA_INT
>
> 10 {
>
> if.value.data = global:_REQUEST|myCookie
>
> if.equals = myValue
>
> 10 = TEXT
>
> 10.value = … and now, something complete different.
>
> }
>
>
>
> und einmal als TEXT
>
>
>
> 10 = TEXT
>
> 10.data = GP:_REQUEST:myCookie
>
>
>
> Während die Ausgabe des Cookie-Wertes im Text-Objekt auf der Startseite
> (www.myDomain.com <http://www.myDomain.com> ) und allen Unterseiten korrekt
> ist, wird er im if anscheinend nur auf den Unterseiten richtig ausgewertet.
> Jedenfalls hat der Cookie-Wert im if keinerlei Auswirkung auf die
> Startseite. Habe ich den Cookie-Path falsch gesetzt? Muss da irgendwas
> anderes als ein „/“ rein?
>
>
>
> Der Cookie selbst ist so konfiguriert:
>
>
>
> Domain:              .myDomain.com
>
> Path:                     /
>
> Expires:               Irgendwann nächstes Jahr
>
> Value:                  myValue
>
>
>
>
>
> Grüße,
>
> Ralf
>
>
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



-- 
christian wolff - webdeveloper, tech-loving geek and typo3 enthusiast
telefon: +49 30 347 244 88
mobil:  +49 179 49 44 758
email: chris at connye.com
adresse: friedelstraße 31 - 12047 berlin

xing-profil: http://www.xing.com/profile/Christian_Wolff43
google+: https://plus.google.com/u/0/115669673917212236875/posts?hl=de
facebook: https://www.facebook.com/1stMachine
flattr: https://flattr.com/profile/1stmachine


More information about the TYPO3-german mailing list