Gary: Alles in Ordnung !!!

Beitrag lesen

An Alle:

Jetzt geht es - Beweis ist online!

Auflösung des Rätsels:
-----------------------

Im Kopfbereich von Perl:
-------------------
use CGI::Cookie;
-------------------

Cookie Befehl:
-----------------------------------------------------------------------
my $cookie1;
$cookie1 = new CGI::Cookie(-name=>'eus-session',-value=>$Zeitstempel);
-----------------------------------------------------------------------

Der Aussendebefehl(!):
---------------------------------------------------------
print CGI->header(-type=> 'text/html', -cookie=>$cookie1);
---------------------------------------------------------

Resümmee:

  1. Es darf nicht text/plain heissen, sondern text/html

  2. Der -type muss zwingend _vor_ dem -cookie stehen. Anders herum geht es nicht.

  3. Es darf nicht CGI::header heissen, sondern CGI->header.

Nur dann wird alles gut!

Grüße und Ende mit Cookie

Gary

0 55

Variabelwert in Javascript einsetzen via perl!

Gary
  • perl
  1. 0
    Struppi
    1. 0
      Gary
      1. 0
        Struppi
        1. 0
          Gary
          1. 0
            Struppi
            1. 0
              Gary
              1. 0
                Struppi
              2. 0
                RobRobson
                1. 0
                  Gary
                  1. 0
                    Gary
                    1. 0
                      Struppi
                      1. 0

                        Immer noch Cookie -> aber Header!

                        Gary
                        1. 0
                          Gary
                          1. 0
                            Struppi
                            1. 0

                              Fertig!!!

                              Gary
                              1. 0
                                Gary
                                1. 0

                                  It' still not working!

                                  Gary
                                  1. 0
                                    Gary
                                    1. 0
                                      Beat
                                      1. 0
                                        Gary
                                        1. 0
                                          Matti Maekitalo
                                          1. 0
                                            Gary
                                            1. 0

                                              Alles in Ordnung !!!

                                              Gary
                                            2. 0
                                              Struppi
                                              1. 0
                                                Gary
                                                1. 0
                                                  Struppi
                                                  1. 0
                                                    Gary
                                                    1. 0
                                                      Struppi
                                                      1. 0

                                                        Ende...

                                                        Gary
                                                        1. 0
                                                          Struppi
                                                          1. 0
                                                            Gary
                                                            1. 0
                                                              Gary
                                                            2. 0
                                                              Struppi
                                                              1. 0

                                                                Unbekannte Länge verarbeiten?

                                                                Gary
                                                                1. 0
                                                                  Struppi
                                                                  1. 0
                                                                    Gary
                                                                    1. 0

                                                                      Zählerproblem

                                                                      Gary
                                                                      1. 0

                                                                        Zählerproblem - präzisiert!

                                                                        Gary
                                                                        1. 0
                                                                          Beat
                                                                          1. 0
                                                                            Beat
                                                                          2. 0
                                                                            Gary
                                                                    2. 0
                                                                      Struppi
                                                                      1. 0
                                                                        Jean-Max
                                                                        1. 0
                                                                          Beat
                                                                          1. 0
                                                                            Gary
                                                                2. 0
                                                                  Beat
                                                                  1. 0
                                                                    Gary
                                                                    1. 0
                                                                      Beat
                                    2. 0
                                      Matti Maekitalo
                    2. 0

                      Erledigt!

                      Gary
  2. 1
    ChrisB
    1. 0
      Gary
      1. 0
        Der Martin
      2. 0
        Struppi