Thread Session-ID wird nicht generiert
(68 answers)
Opened by anamollo4music at 2013-03-26 08:23
Was ist an meinem Beispiel mit dem HTTP-Location-Header denn so falsch?
So wird es gemacht, wenn du bei CGI weiterleiten willst. Notfalls gib mal den kompletten URL für intro.cgi bei -location => ... an. Bitte teste dies erst mal bvor du vermutest, dass es nicht geht. Schau mal als Testfall: Dies wäre die login.cgi Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 use strict; use warnings; use CGI; my $cgi = CGI->new(); my $next_url = 'intro.cgi'; print $cgi->header(-location => "$next_url?BLAAAAH" ); exit; und das die intro.cgi: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 use strict; use warnings; use CGI; my $cgi = CGI->new(); print $cgi->header(); print <<HTML; <html> <head> <title>TEST für Umleitung</title> </head> <body> <p>Gehrt doch mit Umleitung!</p> </body> </html> HTML exit; |