session-state Questions

3

Solved

I am writing an ASP.NET 5 MVC 6 (Core) application. Now I came to a point where I need to store (set and get) an object in the session-cache (ISession). As you may know, the Set-method of ISession...
Hypozeuxis asked 14/3, 2016 at 16:49

2

I am trying to use session state in streamlit to have a two nested button in which first button click shows recommended movies and second submit button submits a review by user on which a model of ...
Carper asked 27/9, 2022 at 6:42

7

Solved

As a result of a penetration test against some of our products in the pipeline, what looked to be at the time an 'easy' problem to fix is turning out to be a toughy. Not that it should of course,...
Suter asked 2/9, 2009 at 15:29

6

Solved

What is the difference between SessionState and ViewState in ASP.NET?
Unprofessional asked 9/4, 2009 at 9:24

1

Solved

I'm building a Streamlit multipage application and am having trouble keeping session state when switching between pages. My main page is called mainpage.py and has something like the following: imp...
Artless asked 31/12, 2022 at 7:37

5

Solved

I'm trying to install berta (v 0.6.3b) and I get this error: Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_a0d6b8422181739d10066fb60cebfe5d, O_RDWR) failed: No...
Stonewort asked 16/7, 2010 at 7:20

4

Solved

I want to ask if it's a good idea to logout when I'm using JWT. To log in, I send a post request with username and password to get the desired token (saved into localStorage) which will allow me to...

6

Solved

"My website is LIVE. And this problem is related to configure session timeout on LIVE server and not in localhost." I have a problem with session expiring too soon. link in 2-5 minutes only. I tri...
Defector asked 13/3, 2013 at 8:39

11

Solved

1.-I'm using reporting services and sometimes I get this error ASP.NET session has expired or could not be found when I try to load a report. 2.-I realized that I get this error when the Session.S...
Semiology asked 29/2, 2012 at 2:15

3

Solved

I know this is probably an easy question for most of you guys. But my problem is that my server host empty their session pools every minute. So how do I get my users to stay logged in longer than o...
Apelles asked 22/11, 2011 at 1:29

9

Solved

I am creating an ActionResult in ASP.Net MVC to serve images. With Session state enabled, IIS will only handle one request at a time from the same user. (This is true not just in MVC.) Therefore,...

8

I'm pretty new to PHP and I am trying to figure out how to use sessions to check and see if a user is logged into a website so that they would have authorization to access specific pages. Is this s...
Stutsman asked 9/10, 2009 at 18:28

3

I am managing the session using shared preference in my application. If the user is logged in it must show the home activity, if not it must show login activity. With the help of http://www.androi...
Iceni asked 29/7, 2013 at 2:55

2

I have the following session config in Startup.cs public void ConfigureServices(IServiceCollection services) { services.Configure<CookiePolicyOptions>(options => { options.CheckConse...
Frugal asked 23/4, 2019 at 15:12

6

Solved

What I want to do is to limit a user ID to only being able to log in to one device at a time. For example, user ID "abc" logs in to their computer. User ID "abc" now tries to log in from their phon...

3

Solved

How does one share session in ASP.NET Core 3 between 2 servers (load balanced)? And can session be shared between several web services/APIs and the main ASP.NET MVC app? I am very new to .NET Core ...

6

Solved

I could really do with updating a user's session variables from within my HTTPModule, but from what I can see, it isn't possible. UPDATE: My code is currently running inside the OnBeginRequest () ...
Retrad asked 9/11, 2008 at 19:31

1

Solved

Under heavy load or when using jQuery's ajax abort function, we see requests build up in IIS to the point where no-one can connect and the entire site hangs, forcing a recycle. A similar post from...
Redmon asked 8/9, 2016 at 10:59

8

Solved

I have an ASMX webservice hosted alongside my ASP.NET web app. Now, I need to get the users session into the Webservice. To test this I made this simple method: [WebMethod(EnableSession = true)] ...
Sylvie asked 21/7, 2010 at 8:57

5

Solved

Scenario: The website is hosted on three servers using IIS on each. All three servers are clustered using the network load balancing software that comes with Windows Server 2003. All three site...
Era asked 28/1, 2009 at 18:28

6

Solved

Since HTTP is a stateless protocol, when a client makes a number of requests to the server, how does the server uniquely identify a particular client's requests over a period of time say t1, t2, t3...
Disparate asked 16/11, 2009 at 8:38

7

Solved

I am using SQL Server 2008 r2. I want to find a way to verify if SQL Server Agent is running. I am suspicious that the Agent isn't running, but I don't know how to check.
Plautus asked 24/7, 2012 at 14:18

10

Our site is currently having this problem. Basically it only happen when we click some particular links where it will pop-up a new window. This is the error message we receive : Unable to make t...
Actinometer asked 4/9, 2009 at 0:46

5

Solved

I would like to have a very lightweight ASP.NET MVC site which includes removing as many of the usual HttpModules as possible and disabling session state. However when I try to do this, I get the f...
Catfish asked 19/5, 2009 at 20:28

3

We had implemented Redis session state provider to our web application and it works like a charm but i wonder what happens if redis server fails or web server couldn't connect to redis server. Is ...
Stine asked 13/4, 2015 at 6:45

© 2022 - 2024 — McMap. All rights reserved.