Relation of WWW to state machine

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a relation between the web and a finite state machine (FSM)? My web application can do clever things to retain state such as storing session variables in server memory or giving it to the client via cookies. However, once the client loads his page or the server finishing pushing/pulling, everything is disconnected. Either the client or the server retains state (depending on above techniques) but not both in synch.

Does my SQL Server retain state? Once the client submits his update, the SQL Server state has changed and remains in this state until the next transction that modifies data. Is this closer to a FSM?

Are the above views accurate? Please comment.

Thanks,
Brett
 
Brett said:
Is there a relation between the web and a finite state machine (FSM)? My
web application can do clever things to retain state such as storing session
variables in server memory or giving it to the client via cookies. However,
once the client loads his page or the server finishing pushing/pulling,
everything is disconnected. Either the client or the server retains state
(depending on above techniques) but not both in synch.
Does my SQL Server retain state? Once the client submits his update, the
SQL Server state has changed and remains in this state until the next
transction that modifies data. Is this closer to a FSM?
Are the above views accurate? Please comment.

Thanks,
Brett

How many essays do you have to write? :-) Your posts are giving me
nightmares about CS exams :-)

Steve
 
Steve McLellan said:
web application can do clever things to retain state such as storing session
variables in server memory or giving it to the client via cookies. However,
once the client loads his page or the server finishing pushing/pulling,
everything is disconnected. Either the client or the server retains state
(depending on above techniques) but not both in synch.
SQL Server state has changed and remains in this state until the next
transction that modifies data. Is this closer to a FSM?

How many essays do you have to write? :-) Your posts are giving me
nightmares about CS exams :-)

Steve
Ok. Sorry but there not essays. Just questions.

Brett
 
Ok. Sorry but there not essays. Just questions.
Hi,

Sorry, just kidding - it's late and I've been here for hours. It's kind of
an interesting question, thinking about it - it's been ages since I studied
FSMs but I guess an SQL server is an FSM. The client doesn't retain full
state though; it rapidly goes out of date, and/or the client probably
doesn't ever get the full picture of things.

If you don't mind me asking, are these questions for a report or something,
or is it just something that interests you? Good luck with it!

Steve
 
Back
Top