Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:46:21+00:00 2026-05-28T06:46:21+00:00

In a RESTful application, there’s no state maintained between two requests. Each request is

  • 0

In a RESTful application, there’s no state maintained between two requests. Each request is treated as a completely new one, even though it would have been sent by the same user. I.e. There’s no session.

In that case, how does the User Login information handled by a REST application?

  1. Is that, after a successful login, the server generates a security token and sends it to client and the client sends it back for each and every request there after?
  2. If above is true, where the security token is stored in server? Database? (Remember: No session).
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:46:22+00:00Added an answer on May 28, 2026 at 6:46 am

    Is that, after a successful login, the server generates a security token and sends it to client and the client sends it back for each and every request there after?
    If above is true, where the security token is stored in server? Database? (Remember: No session).

    Ehrm. Sending a token to the client which will be sent back on each subsequent request, only to retrieve information associated with that token from the database on the server-side? That’s called a session. It’s exactly what PHP sessions do, apart from storing the information in a file, instead of a database. You’re recreating sessions.

    Anyway, I think the “no session, no state” mantra is overrated and not very practical. I think it’s more than okay to store a simple cookie that contains a token so you can identify a user, and associate (some) data with that user. Anyway, I think that not storing application state (e.g. what has the user previously done, and what is he doing now) is the most important.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Microsoft's new Windows Live Application Based Storage API is a RESTful API. More info
I'm currently using RESTful Authentication plug-in on my rails application. There is a typical
I am dealing with a very simple RESTful Rails application. There is a User
I'm developing a new experimental web-application framework, and I decided to give RESTful some
I'm going to be making HTTP requests in an android application. There is some
I have a Maven 2 RESTful application using Jersey/JAXB. I generate the JAXB beans
We are currently working on the design of a RESTful application. We have decided
I'm creating an MVC application that's following a RESTful URL approach. I am experiencing
I've been given a Flex application which made use of a RESTFUL service. I've
I'm building a RESTful web service which has multiple URIs for one of its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.