Questions tagged [session-less]

14 questions
16
votes
1 answer

What are some scenario's of having a Session-less Controller in ASP.NET MVC3?

Reading Guru-Gu's blog post about ASP.NET MVC3 hitting RC, he says:- Session-less Controller Support You can now indicate whether you want a Controller class to use session-state – and if so whether you want it to be read/write or…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
7
votes
2 answers

Designing web application: Session or session-less

I wanted others to explain to me, which approach is better: using a session or designing it sessionless. We are starting development of a new web application and have not yet decided on what path to follow. Session-less design IMO is more…
Eugene Retunsky
  • 13,009
  • 4
  • 52
  • 55
6
votes
0 answers

Yesod Auth: Sessionless Auth Plugin Flow

I'm trying to using Yesod as mobile application's API backend and have chosen to use bearer JWTs to handle authentication and authorization. I've overridden maybeAuthId so that Yesod.Auth accepts (or rejects) the JWTs just fine. However, I can't…
ghn
  • 119
  • 7
5
votes
2 answers

What's the advantage of using Session-less Controllers in ASP.NET MVC3?

Can anyone get me a detailed answer on this? What's the advantage of using Session-less Controllers in ASP.NET MVC?
Febin J S
  • 1,358
  • 3
  • 26
  • 53
3
votes
1 answer

Sessionless controller in Asp.Net Mvc Core

I need to remove session from a controller because it adds unnecessarily load to my Redis server. I use Redis to store my session. I have a controller that it's used from a Web-hook that its called rapidly and with high volume, the Web-hook doesn't…
Menelaos Vergis
  • 3,715
  • 5
  • 30
  • 46
2
votes
0 answers

CSRF prevention when Session is disabled

We want to add CSRF protection for our AJAX enabled Web services. But some of the Web services have disabled Session state. So how to handle this? The post Sesionless CSRF protection (double submit cookies) talks about this and it points to use…
1
vote
1 answer

Deploying AWS Lambda "Hello World" using sam init, sam build sam deploy defaults fails with Failed to create changeset for sam-app

I have followed the simplest route to create a basic AWS lambda function on my PC - but when I try to deploy it it fails with an obscure message. Error: Failed to create changeset for the stack: sam-app, An error occurred (InternalFailure) when…
1
vote
0 answers

asp.net mvc session less application, how to pass data between two action

We are working on session less asp.net mvc application. We have a requirement in which we have to pass data between two actions. our application is deployed on multi-server. so I can't be able to use TempData. As well TempData uses session itself.…
Fahad Farooqi
  • 117
  • 1
  • 2
  • 14
1
vote
0 answers

Controller can not serve request simultaneously

I want to convert video file using FFMPEG at server side which is long running process. I decided to send AJAX request to server so conversion process should run parallel. But my controller is serving single request at a time due to this its taking…
1
vote
1 answer

Managing an error in an ASP.NET MVC 4 page with multiple steps (similar to SPA)

I have an ASP.NET MVC 4 application that has one section that behaves like a SPA. It's a page with multiple steps and, because I'm working sessionless, I'm sending from the client to the server (using AJAX) the ID of the entity in every request (I'm…
Francisco Goldenstein
  • 13,299
  • 7
  • 58
  • 74
1
vote
1 answer

Creating Sessionless page in Stripes

I have a Stripes website and I will have one page that will get lots of hits, and I was asked to make sure Stripes does not create a user session when someone navigates to this page. Is there a way to make sure does not create a session when a user…
Joe
  • 7,922
  • 18
  • 54
  • 83
1
vote
1 answer

MVC 3 - Sessionless controllers datastore options

i've been reading about sessionless controllers lately and it seems an interesting idea, since it improves perfomance and let ajax calls to be asynchronous, as usually they should be. However, i can't figure a nice way to store data that would…
AdrianoRR
  • 1,131
  • 1
  • 17
  • 36
0
votes
1 answer

WCF Why HttpsTransport with WebSocket=Always faster than Never

As the title says, could someone explain to me why WCF HttpsTransport using Websocket (transportUsage=Always), are faster than not using Websocket (transportUsage=Never) even when doing sessionless request-replies? My thinking was that not using…
0
votes
1 answer

Sessionless ASP.NET MVC 2 requests have sessions yet

As we need Async Ajax requests, it is required to disable session state. Web app is based on ASP.Net 4 - MVC 2. I am aware of [SessionState(SessionStateBehavior.Disabled)], however it is available in MVC 3+. I am using the following method to route…
user172163