Questions tagged [session]
The session tag has no usage guidance.
275
questions
0
votes
0
answers
44
views
Firefox generating two sessions in PHP
I am trying to record session ID's in Mysql database using PHP. In firefox, when I load a page, it records two different session ID's at the same time. However, in Chrome it only generates a single ...
0
votes
0
answers
206
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 ...
0
votes
0
answers
95
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 (/...
0
votes
1
answer
90
views
Kubernetes : load balancing on a not-REST container
I'm new to kubernetes. I have learned about kubectl scale to spawn replicas, but it doesn't work well because my containers (shiny app) keep a session-specific context. Each session needs to keep ...
0
votes
1
answer
1k
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
62
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
3k
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
695
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
42
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
216
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
2k
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
851
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
452
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
54
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
6k
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
772
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
813
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
57
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
342
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
396
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
729
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 ...
2
votes
1
answer
1k
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
793
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
256
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
189
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
2k
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
19k
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
2k
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
4k
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
1k
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
1k
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
1k
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
107
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
114
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
12k
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
172
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
658
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
2k
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
86
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
987
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
529
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
361
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
1k
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
611
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
18k
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
12k
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 ...