Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2007, 02:53 PM
Junior Member
 
Join Date: Dec 2007
Posts: 15
Default _redirect question. best way to avoid duplicate posting?

Hey,

What does redirect really do?
I would expect that it sends a 301 || 302 HTTP Code to the new location.
But it doesn't.
When I do:

$this->_redirect("index");

while having URL like http://host/controller/otheraction/key/val

the expected behaviour would be the browser to go to:
http://host/controller/index.

Instead i can see some inner redirect request.
What then is the best way to avoid duplicate FORM posting for instance?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:39 AM.