Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: im Backend eingeloggt, werde sofort wieder ausgeloggt

    spacedakini

    • Fördermitglied
    • Beiträge: 33
    Re: im Backend eingeloggt, werde sofort wieder ausgeloggt
    Antwort #15 am: 14. November 2019, 15:38:11
    DB-Tabelle customers rumgefummelt - nein
    Ich melde mich immer mit dem Admin an, den ich bei der Insatallationsrourine angegeben habe.

    Aber gerade war ein etwas kundigerer Freund bei mir, der hat folgendes rausgefunden:
    Ich habe die HTTP Kopfzeilen angeschaut und festgestellt, dass der Server nach dem erfolgreichen Login das Cookie löscht. Deswegen bin ich dann nicht mehr angemeldet.
    (wenn ich irgendwas anklicke)

    Die Frage ist jetzt, woran kann das liegen und wie kann ich das beheben?
    Nachfolgend die genauen HTTP Kopfzeilen von den Aufrufen.

    Zitat

    ) Login als Admin (erfolgreich):
    POST /shoproot/login.php?action=process HTTP/1.1
    Host: laurahansen.com
    User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://laurahansen.com/shoproot/login.php
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 74
    Connection: keep-alive
    Upgrade-Insecure-Requests: 1

    HTTP/1.1 302 Moved Temporarily
    Date: Thu, 14 Nov 2019 14:04:49 GMT
    Server: Apache
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Pragma: no-cache
    Set-Cookie: MODsid=na0e82jei77ca6gbsuq1vkqu73; path=/shoproot/; domain=.laurahansen.com; HttpOnly
    Upgrade: h2
    Connection: Upgrade
    Location: http://laurahansen.com/shoproot/shopping_cart.php?MODsid=na0e82jei77ca6gbsuq1vkqu73
    Vary: Accept-Encoding
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=1, private, must-revalidate
    Content-Length: 0
    Content-Type: text/html; charset=iso-8859-15

    Weiterleitung zu shoppingcart:
    GET /shoproot/shopping_cart.php?MODsid=na0e82jei77ca6gbsuq1vkqu73 HTTP/1.1
    Host: laurahansen.com
    User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://laurahansen.com/shoproot/login.php
    Connection: keep-alive
    Cookie: MODsid=na0e82jei77ca6gbsuq1vkqu73
    Upgrade-Insecure-Requests: 1

    HTTP/1.1 301 Moved Permanently
    Date: Thu, 14 Nov 2019 14:04:50 GMT
    Server: Apache
    Upgrade: h2
    Connection: Upgrade
    Location: http://laurahansen.com/shoproot/shopping_cart.php
    Cache-Control: max-age=1, private, must-revalidate
    Expires: Thu, 14 Nov 2019 14:04:51 GMT
    Vary: Accept-Encoding
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8

    GET /shoproot/shopping_cart.php HTTP/1.1
    Host: laurahansen.com
    User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://laurahansen.com/shoproot/login.php
    Connection: keep-alive
    Cookie: MODsid=na0e82jei77ca6gbsuq1vkqu73
    Upgrade-Insecure-Requests: 1

    HTTP/1.1 200 OK
    Date: Thu, 14 Nov 2019 14:04:50 GMT
    Server: Apache
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Pragma: no-cache
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection: 1
    X-Content-Type-Options: nosniff
    Set-Cookie: MODsid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=.laurahansen.com
    MODsid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/shoproot/; domain=.laurahansen.com
    MODsid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/shoproot/; domain=.laurahansen.com
    MODsid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/
    Upgrade: h2
    Connection: Upgrade
    Vary: Accept-Encoding
    Content-Encoding: gzip
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=1, private, must-revalidate
    Content-Length: 8686
    Content-Type: text/html; charset=iso-8859-15

     
    4 Antworten
    3956 Aufrufe
    20. November 2011, 11:58:58 von matz
    13 Antworten
    6986 Aufrufe
    20. April 2012, 21:27:11 von GTB
    26 Antworten
    11684 Aufrufe
    17. Dezember 2011, 15:58:16 von Da Sandro
    0 Antworten
    1836 Aufrufe
    22. November 2016, 21:37:45 von AllyG
               
    anything