Questions tagged [session]
The session tag has no usage guidance.
274
questions
0
votes
0
answers
17
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 ...
0
votes
0
answers
60
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 ...
0
votes
1
answer
264
views
Nginx header HTTPOnly closing user sessions
I'm using an Nginx server to host an PHP web application, and tried to upgrade its security by using some security headers, I've tested it on a staging environment and it works fine, so I've decided ...
0
votes
1
answer
35
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 &...
0
votes
1
answer
637
views
Is it possible to retrieve session values within the nginx config file?
just a quick question. I have a php webapp that sets a session cookie with values for username, isAdmin, etc. Is there any way that I could extract that information in the nginx config file?
...
0
votes
1
answer
283
views
Azure application gateway causes sessions to dissapear
We've got a setup of:
Linux container web app (single instance)
Nodejs server with passportjs + openid
External Authentication (OpenID) provider.
If the frontend is contacted directly (through ....
0
votes
0
answers
359
views
PHP 8 on IIS 2019: Sometimes Session can not be written
From time to time I get the classic "Failed to read session data" error on my application running on php 8, IIS 2019. This is usually associated with a) the directory does not exist b) the ...
0
votes
0
answers
29
views
Session Show Up On Screen
I've worked on this problem for 3 days, and that the wording "SESSION_START();" shows up on my screen when I run the page. It doesn't matter if it's HTML or PHP, I see the word ...
1
vote
0
answers
172
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 ...
0
votes
0
answers
1k
views
How to run a Python script in interactive desktop session on Windows 10 remotely?
In other words: how do I run a GUI app on Windows 10 remotely?
Background: we build and test plugins for third-party CAD engineering software. In order to run tests of our plugins, we need to first ...
0
votes
1
answer
584
views
Monitor session duration on AWS Cognito
I am using AWS Amplify to host an Angular application and using Cognito user pool. I have created a dashboard on Amazon Quicksight for BI purposes. One of the metrics that I want to monitor is how ...
0
votes
0
answers
338
views
Login to SSL VPN via SSO and then use SSO inside VPN for other Service Providers possible?
I have a setup where you authorize via SAML SSO (keycloak as idp) to access a SSL VPN (fortigate as sp). Now inside the VPN there are authorization reverse proxy servers.
Is it possible to have the ...
0
votes
0
answers
28
views
Sessions lost on specific network only
NOTE: My apologies - I am not a server admin, but I have a problem that I believe may be server related, or combination of server and network related. I do not have too much technical information ...
4
votes
0
answers
4k
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 ...
1
vote
0
answers
609
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 ...
1
vote
0
answers
582
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 ...
0
votes
1
answer
43
views
What role does session on the Authorization server play?
I was reading about Sessions in this article
https://auth0.com/docs/users/sessions
It says when a user logs in, two types of sessions are create
Two sessions are created:
The local session (storezero....
1
vote
0
answers
281
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 ...
0
votes
0
answers
242
views
How to start a VNC viewer to display all previously saved VNC viewer desktops (that are now destroyed)?
Problem:
My current VNC viewer (let say VNC viewer 'A') resides on a machine (let say machine 'A') that need to be killed because our IT department need to rebuild the machine 'A'.
I have a lot of ...
0
votes
1
answer
460
views
Remote Desktop - Does leaving a session open slow down the server?
Like many other development teams, we don't do a good job of signing out after an RDP session. I am trying to convince the team that it's important to use the "Sign Out" feature to close the ...
1
vote
1
answer
773
views
HTTPS session resumption sometimes partially working
I'm having an issue with ssl session caching. To test if server configuration is OK, I use the following command:
echo | openssl s_client -connect <server.com>:443 -reconnect 2>/dev/null| ...
1
vote
1
answer
667
views
Codeignitor - under login / session load MySQL CPU spike and Fatal MySQL Deadlock
Originally posted on stackoverflow, and was recommended serverfault may be better place.
I have a site using:
AWS RDS (MySQL Aurora) - single t3.medium instance
4 x EC2s on a Load Balancer (fixed ...
-1
votes
1
answer
197
views
PHP Session issue for AddOn domain
I have installed cPanel (EasyApache) for a domain (Domain1.com)
Later i have added a new add on domain (Domain2.com), but when i am starting php session for domain2.com it is setting domain1.con ...
1
vote
0
answers
135
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 ...
1
vote
1
answer
2k
views
Issue with HAProxy and SSL/TLS handshake by webserver for different subdomains in same browser session
We have a firewall with a HAProxy (pfSense) and multiple webservers. Every webserver is configured with HTTPS. The HAProxy frontend rules are defined with Server Name Indication TLS extension matches ...
0
votes
1
answer
2k
views
Clustering/Session Replication tomcat 9 two different machine
I'm trying to configure Session Replication on two tomcats on separate EC2 (AWS) instances. I can't find any example on internet of such configuration. I've prepared configuration in accordance with ...
0
votes
0
answers
1k
views
Nginx uniq session and clear cookie
Im using nginx to redirect my API code and apache guacamole.
i have an issue that i need to use multiuser connection but if im logged in to Auser and i try to connect to Buser ( same browser) it try ...
4
votes
1
answer
13k
views
pam_unix generates a lot of open/close sessions for my domain user
I setup a new VPS with ubuntu 18.04, including virtualmin/usermin. In auth.log I see a lot of
su[12936]: Successful su for domain by root
su[12936]: + ??? root:domain
systemd-logind[148]: New ...
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 ...
3
votes
1
answer
3k
views
"phpsessionclean" systemd service won't run on Ubuntu 18.04 (after update from Ubuntu 14.04)
After we updated all of our legacy Ubuntu 14 servers to Ubuntu 18, the PHP session files stopped getting cleaned up. I am not sure this is caused by the upgrade itself, but all of our other servers ...
1
vote
1
answer
901
views
HTTP/1.1 New Session Failed
I'm getting reports from my users that they are getting the following error message when going to my website:
HTTP/1.1 New Session Failed
It doesn't happen all the time. (I checked my site today ...
2
votes
1
answer
834
views
What is a "session" on an iSeries / AS400?
I was asking another question here and they stated that I needed *REQUESTOR for the session I was running the command in. What is this session, and how do I find out what it is? I know about ...
1
vote
1
answer
889
views
Java multiple HttpSession IDs for the same user
I have some problem with sessions. When I try my project from local sources and refresh several times a JSP that contains the following code:
<h1>Session ID=<%=session.getId()%></h1>...
1
vote
1
answer
102
views
How to Handle Long TCP Sessions deployment in ZDD?
I have an application that forward TCP connection to another App. Currently I am trying to make this application Zero Download Deployment, so I can deploy new version at any time but there is a ...
0
votes
0
answers
92
views
2 users, 3 rdp sessions
We have Windows 2008 R2 Server Enterprise.
And there are the 2 of us. We are log in together, each one on different session, to watch for processes via RDP.
The sessions are : session 2 and session ...
2
votes
1
answer
10k
views
Session "NT Kernel Logger" failed to start
I have encountered an error on windows server 2012 recently.
Session "NT Kernel Logger" failed to start with the following error: 0xc0000022
More Details:
LogName: Microsoft-Windows-Kernel-...
1
vote
0
answers
123
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","...
1
vote
1
answer
421
views
Server 2016 Session time limits for specific users
I am aware you can set session time limits for all idle/disconnected users on Server 2012/2016 etc, however I was wondering if there is a way to end disconnected/idle session only for some users and ...
3
votes
1
answer
1k
views
How do you set the session key size in OpenSSH?
In version 1 of the SSH protocol, it was possible to set the ephemeral session key size with the ServerKeyBits setting in sshd_config. Is there a way to do this for version 2 of the ssh protocol?
In ...
1
vote
0
answers
71
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 ...
0
votes
1
answer
3k
views
PHP.ini custom session.save_path Permission denied
I use
Centos 7 (latest update)
Apache 2.4.6
PHP 7.2
I would like to change the directory where sessions stored on the server, the default directory is /var/lib/php/session/, I can use this ...
0
votes
1
answer
916
views
DigitalOcean load balancer health checks flooding my CodeIgniter sessions
I've been trying to figure this one out for a while now, but so far no success. After contacting DigitalOcean support a couple of times, I'm even more lost.
I have the following setup:
domain points ...
1
vote
0
answers
435
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 ...
0
votes
1
answer
184
views
Disable Fast User Switching
On Windows 10 Pro Desktop I'm looking for a local setting to limit the number of user sessions allowed to be running to 1.
This is not through use of remote desktop client. It's physical access to ...
0
votes
1
answer
817
views
Cookies present in the Chrome inspector are missing on the server
I have a setup comprised by 2 nginx instances connected one after the other. The first one is on one server (A) and the second one is on a second server (B):
user <-> nginx (A) <-> nginx (...
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....
1
vote
1
answer
530
views
How to handle session id from expressjs behind a apache2.4 webserver
I have a apache 2.4.29 with TLS activated to handle static files. Then i have a proxy configured to pass dynamic content to a NodeJS 10.5.0 with:
ExpressJS 4.16.3
express-session 1.15.6
session-file-...
2
votes
2
answers
15k
views
Delete locally cached roaming session on Windows 10
I'm desperately trying to delete an account on a Windows 10 workstation.
We have an employee who has left the company and we want to delete his account, but we can’t.
The account has been deleted ...
2
votes
2
answers
11k
views
PHP 7.2 Failed to read session data: memcache
I am moving some servers from Ubuntu 16 to Ubuntu 18 and I am having trouble getting php sessions and memcache working.
On the current (Ubuntu 16) setup, there are three servers sharing sessions ...
0
votes
1
answer
11k
views
PHP appears to have session files in two different locations?
I have a CentOS 6 box running nginx and PHP 7.2.
My php 7.2 session files exist where I expect them to, in
/var/opt/remi/php72/lib/php/session
However, I've just noticed that a smaller number of ...