I have previously have done this but instead of actually automatically referring me, it displayed an error with a link that "the paged has moved" or something of that sort.
-----Original Message----- From: Issac Goldstand [mailto:[EMAIL PROTECTED] Sent: Saturday, October 06, 2007 6:15 PM To: Eli Shemer Cc: modperl@perl.apache.org Subject: Re: redirect Send a Location: header back instead of a full response and return HTTP_MOVED_TEMPORARILY from your handler. If you want/need to return a response from the page, you can alternatively use an HTML META tag in the header to accomplish the same effect. Issac Eli Shemer wrote: > Hey there, > > I constructed a logout button which simply refers you to a page that > takes away your cookie and then redirects you the main page. > > Internal_redirect however does not seem to be the best use in this case > since, apparently, the address bar is not updated accordingly and even > the cookie is not taken into account yet(I have to refresh the main page > "again") > > > > One possible option might be porting Apache::Request::Redirect to > mod_perl2 but I wanted to hear more suggestions if possible. > > Preferrebly not using mod_rewrite or modifying any other apache > configuration. > > > > Thanks all. >