CrazyEngineers Archive
Old, but evergreen and popular discussions on CrazyEngineers, presented to you in read-only mode.
@tanvisharma • 03 Jun, 2013
please help me know about them,
i know that they dnt save the state and other stores states...give me real time examples...
and how those are applicable in internet
@Anoop Kumar • 03 Jun, 2013 Stateless protocol doesn't preserve state of request after transaction.
Stateful protocol preserves the state of client until it disconnects.
For example if you download file its FTP uses TCP/ip and preserve all the state of client.
While if login a website like CE or Facebook it uses a series of series of stateful protocol for login, posting.
While other time there is no information of client communicated with server, when needed cookies or session variables are used to identify the client.
@tanvisharma • 03 Jun, 2013
ianoop
Stateless protocol doesn't preserve state of request after transaction.
Stateful protocol preserves the state of client until it disconnects.
For example if you download file its FTP uses TCP/ip and preserve all the state of client.
While if login a website like CE or Facebook it uses a series of series of stateful protocol for login, posting.
While other time there is no information of client communicated with server, when needed cookies or session variables are used to identify the client.
yes but when loging in what protocols are used to store the state?
and cookies as i know are serverside programes stored on client side..
i know cookies are used for faster access...
but how does cookies be helpful for faster acces?
what exactly do cookies contain?
and how do server understand that??
please help me
@rahul69 • 03 Jun, 2013
tanvisharma
yes but when loging in what protocols are used to store the state?
and cookies as i know are serverside programes stored on client side..
i know cookies are used for faster access...
but how does cookies be helpful for faster acces?
what exactly do cookies contain?
and how do server understand that??
please help me
  • Cookies help in faster access as u don't have to log in again and again, thus saving time.
  • Cookies generally contain random text, inside encrypted text files.
  • Server reads the cookie from the client computer and decodes it and may compare it to its database to recognize the client.
😀
@KenJackson • 04 Jun, 2013 I've mostly seen the word "stateful" to describe firewalls. That is, when I connect to my home PC from work with TCP/IP, the firewall allows the return traffic through because it remembers that I've established a connection from inside to out. But there's no way I can establish a connection from outside.

And I can't use UDP/IP at all, because there's no state associated with UDP. Each packet is it's own transaction. So I can send them from work to home, but the reply can get through.
3.7k views

Related Posts

@Ankita Katdare · Jul 29, 2015

My uncle who is a successful civil engineer came to me with that day's newspaper. He wanted to show me an advertisement for the local college. The college's ad had...
15.6k views

@Ankita Katdare · Sep 19, 2014

If you have been closely following the growth of Notion Ink tablets, you probably remember that the sales of Notion Ink Adam (launched in 2010) never took off and its...
7.6k views

@sulochana anand · Aug 5, 2012

is c platform independent?as i think it is.but it is compiler dependend.my statement is right or wrong?
8.1k views

@SheldonCooper · Jan 18, 2012

Can anyone tell me what is the difference between De Morgan's theorem and Principle of Duality?
4.8k views

@Jason Estibeiro · Mar 17, 2014

A new release of Office 365 was discussed at the SharePoint conference held by Microsoft last week and it christened: Office 365 Personal. Aiming for a Spring release, it is...
4.8k views