if( $this->{_cgisession} ) { $url = $this->_rewriteURL( $url ) unless( !$TWiki::cfg{Sessions}{IDsInURLs} || $this->{_haveCookie} ); # This usually won't be important, but just in case they haven't # yet received the cookie and happen to be redirecting, be sure # they have the cookie. (this is a lot more important with # transparent CGI session IDs, because the session DIES when those # people go across a redirect without a ?CGISESSID= in it... But # EVEN in that case, they should be redirecting to a URL that # already *HAS* a sessionID in it... Maybe...) # # So this is just a big fat precaution, just like the rest of this # whole handler. my $cookie = CGI::Cookie->new( -name => $CGI::Session::NAME, -value => $this->{_cgisession}->id(), -expires => '+3Y', -path => '/' ); push( @{$this->{_cookies}}, $cookie ); } if( $TWi