Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

basic difference between Stateless and non Stateless interfacing

Status
Not open for further replies.

gonzo67

Technical User
Oct 11, 2003
5
CA
Would anybody know a basic difference between stateless and non stateless interfacing or developping? What would be the advantages of either method?
Thanx much
Gonz
 
Stateless (memoryless): No data is kept in instance data ior in Static variables. All data is passed on the method and returned.

Non-Stateless. Self-explanatory.





Forms/Controls Resizing/Tabbing Control
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Examples would be:

Stateless: Web programming. The HTTP request from the user contains everything the program needs to know. There is no data shared between requests.

Stateful: Thick-client (aka Desktop) programming. The user clicks on stuff, and depending on what they clicked earlier, they might have different choices. For example, if you're in a word-processor and click inside a table, then the toolbar will change to table-editting tools. The program remembers that they're in table-editting mode.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top