Reputation: 724
Assuming a sends a request twice through REST api. Is it considered as two different session?
Upvotes: 0
Views: 247
Reputation: 39321
REST architectural constraints are in general (from wikipedia):
- Client-Server
- Stateless
- Cacheable
- Layered system
- Code on demand (optional)
- Uniform interface
Therefore "session" concept is not applicable. The REST request should contain all data needed to be processed: credentials, resources to use, payload, etc
Upvotes: 1