The information about an individual Website is referred to as state
information. Describe the difference between stateful and stateless
information, and provide one advantage or disadvantage of each type of
State machines allow strict steps that are based on the current state and how to move onto the next one. This is useful when trying to get patterns of execution that are more unique based on previous events. An example is that a system could interact differently to the same input based on the current state the system is in.
A stateless machine will always do the same thing when given the same input. This type of system is more useful when trying to create a simpler system in that the input drives out the output. This would be more useful when you are setting up the beginning of a system, or any other part of the system you wish to always perform the same.