Last post Jun 22, 2017 08:48 PM by mgebhard
Jun 22, 2017 06:47 PM|EssCee|LINK
Jun 22, 2017 06:55 PM|mgebhard|LINK
Assign the Id to a cookie that expires after a short period of time. The user must have the cookie to view the order details.
Jun 22, 2017 07:06 PM|EssCee|LINK
Jun 22, 2017 08:48 PM|mgebhard|LINK
Correct me if I've misunderstood you, so i create a cookie, assign the order id to it, on the order detail page check for this cookie if it exists show the order details and then delete it?
It is up to you to determine how long to keep the cookie. I would expire the cookie after 5 or 10 minutes. It really depends on your requirements.
Keep in mind, this is an ASP State management question. You need a way to bind the user to the order details over a few requests and I feel a cookie is a good solution.