Jump to content

http statefull

- - - - -

  • Please log in to reply
1 reply to this topic

#1
P98

P98

    Newbie

  • Members
  • PipPip
  • 14 posts
hello guys. Is there a method to make http statefull ? Is cookies one way of achieving this ?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
You can not make the protocol stateful, you can cause it to act like it with a few methods, one is cookies that you have mentioned.

Hidden fields in forms in which the state is sent to the client as part of the response, and sent back to the server as form data as part of the form or sent through the URI.

Or: Through URL rewriting -- in which the state is sent as part of the response and returned as part of the request address, this will be a little more simple.

That being said, you may wish to look at REST to simplify your approach.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users