Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

iframe cookie

Empfohlene Antworten

Veröffentlicht

hallo,

ich habe ein kleines cookie-problem.

ich habe eine vorgegebene seite (bzw ein ganzes cms-system) das seine eigenen cookies setzt. die seiten kann ich selber verändern (allerdings will ich nicht im vorgegebenen cookie-system rumpfuschen) :rolleyes: .

ist es möglich in einem iframe auf eine externe seite zu verweisen, damit ich für diese seite (im iframe) dann eigene cookies setzen und auslesen kann?

ob php oder javascript is mir ziemlich egal.

danke

jasso

  • Autor

ausprobiert hab ich es schon.

nur so richtig hingehaun hat es nicht so richtig. :rolleyes:

jetzt weiß ich halt nicht ob ich was falsch gemacht habe, oder ob es nicht möglich ist.

  • Autor

im endeffekt dann nicht (sonst kann es ja nicht funktionieren oder :confused: ), momentan greife ich auf die hauptseite übers inet zu und rufe meine zweite seite per ip von meiner eigenen kleinen virtuellen kiste (und dem iss-webserver darauf) auf.

Richtig, Cookies haben nur innerhalb der Domain Gültigkeit. Sonst werden sie nicht mitgeschickt.

Es macht auch schon hier einen Unterschied:

setzen unter www1.doma.in

lesen unter www2.doma.in klappt nicht.

  • Autor

soweit is mir das klar.

ich weiß eben nur nicht ob ein iframe ein eigenes cookie setzen kann.

wie gesagt ... probiert hab ich es schon, nur hinhaun tut es bei mir nicht so wie ich das will.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.