The key design decision of any website is state management. There are dozens of options depending on requirements and configuration. Start with the docs
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/app-state?view=aspnetcore-5.0
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
I have 2 concerns.
If anyone answer these questions with some good Logic that would be very much appreciated. Looking forward to receive response from you guys soon.
Thanks,
S
The key design decision of any website is state management. There are dozens of options depending on requirements and configuration. Start with the docs
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/app-state?view=aspnetcore-5.0
The problem you're going to have is that the browser doesn't notify the server when the user hits the "back" button. So any partially entered data on "page 2" won't get posted back - unless you intervene with jQuery.
You might want to consider using a system with jQuery where the data pages are all in one "page" in a sort of tabbed notebook.
That way you can use next>> and <<prev buttons to tell jQuery to navigate the pages.
So for example, Customer info on page1, order info on page2, line items on page 3 and payment info on page 4 - something like that.
You can set a jQuery script to hide/show the pages on the fly, and the "Save" button to post it all.
Unless you need the server to do something different on a page based on the previous one, you should be golden.