redirect or die() :-)

Date 2006-05-18 18:14:07 | Category: PHP

in englishin japanese
There are too many applications like XOOPS using redirection when error occurred.

They should be relaced into die() without conditions after normal post transactions.

If you write die() intead of redirection in error handling:
- Users can read the error message thoroughly.
- Users can return the previous page immediately.
- You don't have to write codes for redirect.






You can read more news at PEAK XOOPS.
http://xoops.peak.ne.jp

The URL for this story is:
http://xoops.peak.ne.jp/md/news/index.php?page=article&storyid=105