status-message

How best to pass a message for the user between pages

时光总嘲笑我的痴心妄想 提交于 2019-12-05 01:13:24
问题 So the chain of events is: The user submits a form. During the processing of the submission, there is a message generated, such as "Your record was saved." The user is redirected to a new page, say the search results. The new page needs to display the message. So, the question is how to get the message from step 2 to step 3? This is only one simple example...there are many other much more complicated examples. I am using PHP. Needs: supports multiple messages and need to be formatted on the

How best to pass a message for the user between pages

蓝咒 提交于 2019-12-03 20:20:06
So the chain of events is: The user submits a form. During the processing of the submission, there is a message generated, such as "Your record was saved." The user is redirected to a new page, say the search results. The new page needs to display the message. So, the question is how to get the message from step 2 to step 3? This is only one simple example...there are many other much more complicated examples. I am using PHP. Needs: supports multiple messages and need to be formatted on the receiving machine as required messages can be added on the same page (such as within step 4) messages