Questions tagged [stateless]

Stateless apps don't expose any information about what has happened or changed since it started running

Stateless apps don't expose any information about what has happened or changed since it started running. They give the same response to the same request, function or method call, every time. HTTP is stateless in its raw form - if you do a GET to a particular URL, you get (theoretically) the same response every time. The exception of course is when we start adding statefulness on top, e.g. with ASP.NET web apps :) But if you think of a static website with only HTML files and images, you'll know what I mean.

521 questions
-1
votes
1 answer

how to implement stateless flask webapp

I'm struggeling with an stateless Flask Application. Normally I use flask-login to handle all the user management. But now I need to do this stateless cause the application should run on cloud run. So it has to be stateless. My included RestAPI…
Pascal
  • 1
-1
votes
1 answer

Reason behind making http stateless

I want to know the reason behind making the http stateless. There should be some reason in making the http stateless. I searched the whole internet and found nothing.
-1
votes
1 answer

Google Cloud bucket and all files disappeared. Says bucket exists when I try to recreate

Logged on to my Wordpress site to find all images and media missing. I'm using WP-Stateless plugin. Tried to re-sync, but it relayed that all local and remote files are missing.Logged into Google Cloud and no bucket is listed for the project.Tried…
-1
votes
1 answer

New Stateless JWT Auth Idea! Is it actually safe?

I have been dealing with JWT for an auth API for my stateless app and I am really liking how JWT works but since storing JWT in local storage makes it vulnerable to XSS attacks, it kind of disappoints me. Though, I think if your app gets attacked by…
-1
votes
2 answers

Is SOAP a stateful protocol? Is REST really stateless? How can one store data using REST?

Is SOAP designed to be a stateful? How can it be reached? SOAP use RPC, so where to store data? Is REST designed to be a stateless? Is it possible to store data in JSON ? Is it so wrong? Thanks
arminvanbuuren
  • 957
  • 1
  • 9
  • 16
-1
votes
1 answer

Transform array using a declarative approach

Given the following code: $flat = [ [ '10', 'hoho'], [ '10', null], [ '13', null], [ '10', 'ahha'] ]; //imperative, procedural approach $hierarchical = []; foreach ($flat as $entry) { $id = $entry[0]; …
Jean Carlo Machado
  • 1,480
  • 1
  • 15
  • 25
-1
votes
3 answers

ReactJS: What are some criteria for not needing a constructor in a component class?

I want to know the conditions where by a constructor is not needed in a component's class declaration. I figure it is for stateless components, but are there any other reasons? Would not having any functions inside the component (besides life cycle…
-1
votes
1 answer

Stateless Template method implementation

Let's say I have a Strategy interface : public interface Strategy { void perform(); } And a template method to implement it : public abstract class AbstractStrategy implements Strategy { @Override public void perform() { …
bowmore
  • 10,842
  • 1
  • 35
  • 43
-1
votes
1 answer

Response over HTTP Protocol

how a web server respond to the right client over HTTP as HTTP is a stateless Protocol. i mean to say that there would be multiple request and response at web server, and a client get its respective response.
user2589824
  • 19
  • 1
  • 8
-3
votes
1 answer

Flutter stateless and stateful widget question

I just wanna ask few questions Should i wrap my normal widget with stateless or stateful when using? What is the different of using it as is? I just wanna build re usable widget and wondering if i should wrap it before re using! Thanks for…
Niiko
  • 1
  • 1
-4
votes
1 answer

What Java based technology is used for building Stateless Applications?

One of our applications is going to become more of a Micro-services based architecture with drivers being cloud readiness, responsive, cross channel, embracing APIs, heavy client side architecture, stateless applications, dynamically scalable…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
1 2 3
34
35