Questions tagged [session]

The tag has no usage guidance.

95 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
5k views

ngnix php curl old SSL session ID is stale, removing

I am making a php curl request from nginx server to apache server It shows old SSL session ID is stale, removing As per the link I have changed the SSLSessionCacheTimeout in bitnami apache server but ...
DroidDev's user avatar
  • 141
3 votes
0 answers
1k views

Cannot delete php/sessions folder

I could really use some help. I have a Ubuntu 14.04.6 account with DigitalOcean and am encountering some errors related to lack of space. When I ssh into the account and do a tab-completion at the ...
TSGM's user avatar
  • 131
3 votes
0 answers
2k views

RD Connection via RDGW to Session host is not connecting

I'm building a new RDS solution with a Gateway/Connection Broker and a pair of session host servers etc. This isn't the first time I've done this and I've not hit this issue before; I'm hoping its ...
John's user avatar
  • 541
3 votes
1 answer
32k views

RDS 2016 session limits

We have a single RDS (W2K16) which hosts all roles (Broker, Gateway, Session host). On the collection settings, we specified all session limits as "never". Still all users are logged off 6 hours after ...
Mickeybyte's user avatar
3 votes
0 answers
4k views

Set "rdp-tcp#0 Administrator" permanently to Session 1

Steps to reproduce: - Login to a Windows 2008 R2 via RDP - Open a "Command Prompt" - Type: qwinsta - Get: SESSIONNAME USERNAME ID STATE TYPE DEVICE services ...
Dirk Schiller's user avatar
3 votes
2 answers
5k views

Is it really possible to use PHP sessions for authentication with nginx fastcgi cache?

I have recently switched an opencart instance from Apache+mod_php to nginx+fastcgi+php-fpm. I have been trying to leverage caching for most pages through fastcgi-cache. Unfortunately, many users ...
Bretticus's user avatar
  • 175
2 votes
2 answers
2k views

PHP session timeout

I'm having some troubles with the session timeout in a PHP application, I suspect the timeout is given by code but I prefer checking the infrastructure first. The application I'm running is pure PHP 5....
nikolaigauss's user avatar
2 votes
1 answer
2k views

Nginx set session-cookie before upstreams are hit

We have a nginx-reverse-proxy/cache and multiple backend-servers. My current problem with our setup is that if a user hits a cached site he / she does not get a session-cookie set, as the backend is ...
gries's user avatar
  • 173
2 votes
1 answer
224 views

Huge quantity of session files

I have: CPU: 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2600.06-MHz K8-class CPU) 128 GB RAM FreeBSD OS session files stored in RAM each session file is 1...10 kb gc_maxlifetime = 1440 ...
TKVideoChat's user avatar
2 votes
0 answers
2k views

Set RDS Default Printer By Session/Client

We have a Multipoint 2012 server running RDS for dumb terminals set up throughout our facility. Clients are named by their location. Each location uses its own printer. Due to the fact that there are ...
Pratt Hinds's user avatar
2 votes
1 answer
1k views

IIS 7 and ASP.NET State Service Configuration

We have 2 web servers load balanced and we wanted to get away from sticky sessions for obvious reasons. Our attempted approach is to use the ASP.NET State service on one of the boxes to store the ...
Shawn's user avatar
  • 21
2 votes
0 answers
792 views

What could be cause of ASP.NET State Server timeout?

I recently migrated an app from SQL Server backed sessions to the ASP.NET State Server. About once a week there is a brief failure of ASP.NET to connect to the state server. These last from 20 ...
RyanW's user avatar
  • 528
2 votes
1 answer
3k views

Mysterious per-session CPU limiting?

TL;DR: CPU-hungry processes are sharing cores on a multi-core server while other cores sit idle, whereas I expect the Linux scheduler to distribute jobs evenly across cores. What could cause this ...
dmonner's user avatar
  • 21
2 votes
0 answers
64 views

Can only create on citrix application session per server

We have 3 Citrix presentation servers. These servers are each hosting an application. We can access the application fine. However, if I access it, I can only open one session of the application on ...
Michael Galos's user avatar
2 votes
1 answer
500 views

Distributing php-session load on a memcache array

Until recently our setup consisted of 4 web-servers sharing sessions to a single server running memcache. We are hosted on Amazon cloud and had a crash at peak load on 2 consecutive days. The problem ...
Kundra's user avatar
  • 21
2 votes
1 answer
402 views

kill sessions for other machines

I've an admin and client site. Multiple users will view at client site at the same time. It is possible that I can force the users logout of my client site from admin site? I'm now using classic ASP ...
user avatar
1 vote
0 answers
203 views

Couchbase nodes are stuck in pending after bucket creation, nodes aren't rebalancing

If anyone here is familiar with setting up Couchbase, I need your help. I'm in the process of migrating all of our on-prem servers to Azure. Right now we're trying to get Couchbase in the cloud to ...
Hey_Mindo's user avatar
1 vote
0 answers
719 views

Force generate a new session or lock a session ID to a client when using the same login for Windows Virtual Machines versus taking over empty session?

Situation Our engineering group generates new Windows VMs from a template that uses a generic admin user. Through the course of a project that user is used in multiple, parallel sessions by several ...
Ben Merryman's user avatar
1 vote
0 answers
712 views

Keycloak: Difference between Authentication sessions and User Sessions

I was going through the documentation https://www.keycloak.org/docs/latest/server_installation/#cache Here they have described different types of caches. I didn't quite understand the definitions they ...
MrRobot9's user avatar
  • 123
1 vote
0 answers
325 views

How to close SFTP session with Azure logic app after task is finished?

We have an Azure logic app that checks every five minutes for files on an external SFTP server. Sometimes the requests fail. The external party indicated that this might be because the SFTP sessions ...
amigobrewbrew's user avatar
1 vote
0 answers
173 views

SQL Server Session State using "blue/green" deployment. Issue with different paths

I've been working on trying to get a blue/green deployment architecture setup on a windows 2016 server. But just ran into a brick wall because since these 2 web farm "servers" are actually ...
crichavin's user avatar
  • 121
1 vote
0 answers
150 views

PhP Session Destruction not as eXpected

I have added this code to the top of my page and it is executed when a user login. <?php $lifetime=86400;session_start();setcookie(session_name(),session_id(),time()+$lifetime,"/","","TRUE","...
boonu's user avatar
  • 111
1 vote
0 answers
76 views

Should TLS separate the Finished messages?

I'm a bit stumped by what I'm seeing in wireshark. I am attempting a TLS session resume from a client 10.66.128.10 to server 10.26.0.196, and am seeing an unexpected event - the client is sending the ...
Code Wiget's user avatar
1 vote
0 answers
498 views

How is session caching affected by the renewal of a ssl certificate?

I optimized my nginx session cache like this # Optimize session cache ssl_session_cache shared:SSL:40m; ssl_session_timeout 4h; In a few days my Let's Encrypt certificate will be renewed. Does this ...
Sr. Schneider's user avatar
1 vote
0 answers
5k views

RDSH logon is hanging at 'Please wait for remote desktop configuration'

RDSH logon is hanging at 'Please wait for remote desktop configuration'. Can anybody tell me what it's actually doing at this stage? It will proceed eventually but we're talking like 5-10 minutes of ...
John's user avatar
  • 541
1 vote
1 answer
274 views

Problems with session data permissions, multiple UIDs on multiple PHP-FPM pools

I run an nginx server with 40 identical webapps on 40 different ports in 40 different PHP-FPM pools. Each pool is run on a separate user. My sessions.save_path in php.ini is /tmp/php_sessions. Let's ...
Magnus's user avatar
  • 255
1 vote
0 answers
1k views

Tomcat: Session persistence not working with MySQL

I am working on adding session persistence in Tomcat with MySQL, but unfortunately it is not working. Nothing in database. I am trying to save session information so that users are logged in even ...
We are Borg's user avatar
1 vote
1 answer
907 views

SSH sessions doesn't terminate correctly

I'm having issues with some ssh sessions that doesn't seem to terminate properly. To make things even worse, the customer whos sessions is getting "stuck", well, they seem to have some kind of ...
eae's user avatar
  • 11
1 vote
0 answers
230 views

How to save mutual authentication HTTPS SSL/TLS Session Handshake from Nginx server

I have setup an Nginx installation in my server. I've set a restriction access to a resource only by client certification authentication. (Referring to RFC6101). Now when a user get access with his ...
0bot's user avatar
  • 46
1 vote
0 answers
147 views

Command after apt-get install is not executing in script

I'm writing a script which is meant to initially set up my Droplet. In the script, I'm opening ssh connection with my Ubuntu 14.04 server as follows (with USER and REMOTE variables previously defined):...
Tommz's user avatar
  • 111
1 vote
0 answers
222 views

su rails session mysteriously closes by itself

I need help troubleshooting a strange problem. When I ssh into a server I have and do an su rails from root user the session closes by itself: root@ubuntu-server:/4# su rails rails@ubuntu-server:/4$ ...
Craig's user avatar
  • 289
1 vote
0 answers
313 views

FastCGI and tmpfs

I read some articles about using tmpfs for /tmp and PHP sessions directories for better performance, and it sounds interesting. I'm using Centos 6 server with LAMP stack (+FastCGI) and in my fcgid....
Rotem's user avatar
  • 147
1 vote
1 answer
2k views

Why does my server running nginx/php-fpm keep losing session capability without generating any errors?

I am managing a server that has a couple dozen websites on it and they have all been working fine until last week when it was noticed that one site had seemingly lost the ability to maintain session ...
Dave W.'s user avatar
  • 19
1 vote
0 answers
105 views

Transfer control of terminal process to a different emulator

How can I transfer running terminal session between PCs on-the-fly? I mean - I'd like to be able to transfer for example SSH session with running application to another PC lets say laptop, without ...
Lapsio's user avatar
  • 363
1 vote
0 answers
1k views

php session tracking cookies (multiple session handling on same domain)

I have 2 applications, both have password based login, database,etc., the passwords are different, databases are different, applications present are in different folders. Log into the first ...
Corleone's user avatar
  • 121
1 vote
0 answers
1k views

PHP Warning: Unknown: Failed to write session data (memcached). Very infrequent

I installed memcached (2.2.0) libmemached (1.0.18) a few weeks ago. (Apache/2.4.10 and PHP 5.5.20), mostly for php session management. Generally I'm really pleased with performance but I notice this ...
williamk's user avatar
  • 133
1 vote
0 answers
3k views

HAproxy ACL based on backend application session cookie to replace HTTP Basic Auth

I would need some help on HAproxy configuration to bypass HTTP basic auth and let the user use a specific backend in case there is a valid session cookie present from another backend application. I ...
Julian Pawlowski's user avatar
1 vote
1 answer
3k views

How to set up cluster with SESSION replication in Coldfusion 10?

I am not able to set up a cluster with session replication. I have successfully set up a cluster with sticky session. When googled I found a lot of links explaining the same issue, like http://...
user3427540's user avatar
1 vote
0 answers
236 views

Active session count for a given app pool?

I'm running a .net 4.0 app in IIS6 in a separate app pool. Is there a way to see a count of active sessions for that website? I can see the active sessions in the performance counters, but only for ...
Alex KeySmith's user avatar
1 vote
1 answer
1k views

MultiPoint Server 2011, RDP sessions are disconnecting

We are using thin clients to RDP into a Multipoint Server. The clients are experiencing a loss of connection that does not seem to have to do with an idle disconnect setting. I have gone through the ...
Pratt Hinds's user avatar
1 vote
0 answers
785 views

Citrix Client Fails To Establish A Connection

Users on one server can't establish an in-session Citrix-connection. The user starts a desktop from the local Citrix Presentation Server 4.5 farm. In this session the user connects to a remote Citrix ...
Tom's user avatar
  • 424
1 vote
0 answers
498 views

Error when configuring session state server

We are trying to setup session state server. When we do, we get the following error: Message: System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected ...
Shiraz Bhaiji's user avatar
1 vote
0 answers
2k views

IIS 7.0 Session Sharing among different applications

We have created two web applications, one nested inside another(Our main web app is the outer one, and we have a cms inside, or below it). We're trying to get session sharing between the applications(...
Chris L's user avatar
  • 113
1 vote
1 answer
2k views

Cannot run "Automation Anywhere" exe files from console (session 0) on Windows Server 2003 64 bit

I have a simple exe created from an Automation Anywhere task that displays a message box saying hello world. I created this simple exe just for debugging the following issue. When I log in to the ...
user avatar
1 vote
1 answer
652 views

migrate ssh session from one Linux box to another as a failover

I have been looking for a solution that allows one to migrate an ssh session from one Linux box to another. I prefer an open source or free solution, but I can't even find a commercial solution either....
ks2000's user avatar
  • 13
0 votes
0 answers
36 views

AWS EC2 Ubuntu 22.04 LTS session timeout not working (ClientAliveInterval, ClientAliveCountMax)

I installed an AWS EC2 instance using Ubuntu: ubuntu@ip-aaa-bbb-ccc-ddd:~$ lsb_release -ds Ubuntu 22.04.3 LTS I was using the following simple tutorials to set the ClientAliveInterval and ...
Kawu's user avatar
  • 101
0 votes
0 answers
65 views

session logging on CentOS stream

I had a Centos 8 installation with a working session logging setup (sssd, tlog). On any ssh login to the server the session was logged and sent to a syslog server. All the logins are local logins (/...
Spiros Papageorgiou's user avatar
0 votes
0 answers
22 views

TCP session refused immediately after accepting it

Host_A tries to send some data to Host_B over TCP. Host_B is listening on port 4712. Host_A is a remote PC connected on a dedicated WAN. Host_B is a local embedded device based on embOS OS, connected ...
robocat's user avatar
0 votes
0 answers
144 views

performance issue when linux(ubuntu) work as router with ip_forwarding enable

I'm running a test with this topo: tester---(port1)ubuntu_linux(port2)----tester. I enabled ip_forwarding in ubuntu_linux by : echo 1 > /proc/sys/net/ipv4/ip_forward The tester is trying to find ...
Hans Yin's user avatar
0 votes
1 answer
48 views

using /usr/bin/script to record sessions, but readable .txt

How can I get the /usr/bin/script files to be "readable" .txt ? For example I'm recording sessions like: script "/path/`date "+%y%m%d-%H%M%S-term-session.txt"`" When I &...
focaccio's user avatar