The World Wide Web (WWW) is originally stateless. HTTP (HyperText Transfer Protocol) - a set of rules that governs communications on the WWW, provides no means for maintaining states. Using HTTP alone, every request for a web page is a new and isolated one. In other words, you are anonymous or faceless to the website as it does not recognize you or remember your previous visits. This stateless WWW can be liken to your affair with the vending machines you frequent to buy your favorite beverages and snacks. These machines do not recognize you or remember your previous purchases. This type of model is fine if each transaction is independent and can be completed in a single cycle of request (press the product button) and response (out come the product). The stateless model of WWW cannot meet the sophisticated demands of today's web applications. A typical e-commence transaction session on the web, for example, will consists of a connected series of consecutive and iterative cycle of requests and responses - From browsing and searching items, adding items to cart, displaying cart content, changing cart items (iterative), changing item quantities (iterative), to checking out all within a single session. For this to happen, the e-commerce website must recognize you and remember your preceding activities with the website in order for it to correctly process your subsequent requests such as displaying cart content, changing cart items etc. In order words, today's web applications must employ some mechanism to maintain states in order to function properly.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, Web Development, Web, HTML, HTML5