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

  • SEARCH
  • Home
  • 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 4253338
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:55:57+00:00 2026-05-21T04:55:57+00:00

If I wanted to enable users to log in and out, what would be

  • 0

If I wanted to enable users to log in and out, what would be some good patterns of doing this in a stateless application?

Also, what are the top security concerns? I am thinking of doing this in Java.

Thanks,
Alex

  • 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-21T04:55:57+00:00Added an answer on May 21, 2026 at 4:55 am

    If you cannot store session data in user’s browser (via cookie), this is probably very hard to achieve.

    I’m not sure what you mean by “stateless” but if storing session key in user’s browser is not possible, you can always send this “key” in the HTML you produce. This “key” will be something you randomly generate (random enough that nobody can easily guess it). The “key” is only known by you and the user. Whenever the user requests a new page, he needs to “POST” or “GET” this key as HTTP parameter if the user wants to be identified as logged in.

    Security concern for this is that if you do this over non-secure (http), the network can easily be sniffed. If you do it over SSL (https) it is probably more secure.

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

Sidebar

Related Questions

I have an application which I would like to enable push notifications on. I
I have an ASP.NET 2.0 web application(C#) where I wanted to enable Single Sign
Wanted to get some consensus around a UI feature I'm working on right now.
I'm working on a NFC application which would be using NFC-V tags with ISO
I wanted to enable friendly urls in liferay for my JSR-268 Portlets. I configured
I am running XAMPP locally with Joomla 1.5.22 installed. I wanted to enable front
I wanted to disable a button when the dialog is created initially. I enable
After watching the Knockout.JS video with Steve Sanderson I decided this would be great
<c:url var=myUrl value=/MyPath/${MyID}/> which I then use later (to enable users to copy links)
i just wanted to know how to enable client side validations for dropdowns in

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.