Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [session]

The tag has no usage guidance.

2
votes
1answer
46 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 ...
-5
votes
0answers
29 views

killing network sessions in Windows [closed]

either in PowerShell or CMD, I am looking for a way to kill sessions like: kill any session that has source or destination port number of 443 appreciate your help. thanks,
1
vote
0answers
18 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
0answers
83 views

Cannot disable open_basedir

When I upload my site from localhost to my nginx server I receive this error: Warning: session_start(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): I have ...
-1
votes
1answer
162 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
1answer
88 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
0answers
40 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
1answer
37 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
1answer
31 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
2answers
204 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....
0
votes
1answer
40 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-...
1
vote
2answers
633 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 ...
0
votes
2answers
1k 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
1answer
393 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 ...
0
votes
0answers
32 views

Sessions and authentication killed in Laravel 5, running on AWS

I've a VPS Provided from Amazon web services , and I've deployed more than 6 "laravel" projects which is worked perfectly , but I've same issue for 3 projects , which is sessions and authentication ...
3
votes
3answers
496 views

What happens to DHCP sessions on client devices when the DHCP server breaks down and comes online after an interval?

Scenario: I use DHCP server to authenticate and provide specific services to my device. Everything is working well, my client device has a valid IP address 192.168.0.2 and a QoS service assigned by ...
0
votes
0answers
67 views

apache mod_proxy persistent

Im using apache mod_proxy to LB 2 tomcats in a server using apache and sticky session. I need session time outs to be set 30 minutes So I have following parameters in httpd.conf Timeout 1200 ...
0
votes
1answer
629 views

RD Session host accepting new connections despite being set to not

I have a couple of new servers I'm testing for a customer... We've brought them into the mix of 'Host Servers' for the Remote Desktop Services collection and we've set 'Allow new connections' to '...
2
votes
0answers
381 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 ...
0
votes
0answers
87 views

IIS 7.5: Session State

What is the difference between session state in these 3 levels? We are trying to configure session timeout for our .net web application but which level of configuration we should look for? Thanks. ...
0
votes
0answers
359 views

Sessions are not saved in database sessions table in Laravel 5.5 on shared hosting server Godaddy

I hosted laravel app using Godaddy's shared hosting . Im using SESSION_DRIVER=database , it is proper working in my local system XAMPP , and is saves sessions in database sessions table but on ...
0
votes
0answers
50 views

ssh session is not shown in 'query session' result

I am connecting to a remote windows server through ssh. I want to see all logged in users to windows server with query session command but my ssh connection is not shown in output. -rdp connection is ...
0
votes
0answers
26 views

nginx apache sessions by GET method

We have and old windows webserver that doesn't manage cookies so we are using a workaround (since 7 years ago) which consist on using GET sessionID in visible URLs: www.website.com/INDEX.pro?...
0
votes
0answers
954 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 ...
0
votes
1answer
428 views

User cannot connect to 2012 R2 session deployment, session with no name created and stuck

We have this week, started having an issue on one or two of our remote desktop session host servers running 2012 R2, whereby when a user attempts to login, they are stuck on one of the login messages ...
1
vote
2answers
407 views

Can't start sessions in chrooted nginx php-fpm environment in FreeBSD

I have a FreeBSD 11 machine running latest Nginx and PHP-FPM in chrooted mode. Everything worked fine, until I added start_session(); to index.php. This is when I received the following error: ...
1
vote
1answer
51 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 ...
0
votes
0answers
76 views

Retrieve/Reuse Apache Auth Session Cookie

I have setup Apache 2.4 to authenticate using mod_auth_form using encrypted session cookies with secret. I am using this against a form that authenticates against an LDAP server and sends back to ...
1
vote
1answer
575 views

nginx - ssl session resumption

I have installed nginx on multiple servers (our load balancers). When i check my SSL installation with https://www.ssllabs.com/ I get A+ results for each server but the first server has always ...
0
votes
0answers
711 views

Gnome-session doesn't start with VNC

I have some problems on CentOS7. When I'm connect on CentOS, all si fine, I can go to the menu, I have all my icons. But when I'm connect with VNC on this session, the menu, background disappear. I ...
-1
votes
1answer
222 views

My PHP session variables are destroyed when form doesn't submit for 20+ mins

On our lab's laptop with Linux Mint we installed Apache server. It's sole purpose is to run our chemical script INDEX.PHP. Everything runs smoothly but there is one problem. If we don't submit from ...
0
votes
2answers
236 views

How to clean orphan Docker containers?

I have a setup where users log into the host machine via PuTTY and can spawn Docker containers for their use. The Docker command looks like this: docker run -it --rm -v /home/$USER:/home/$USER -w="/...
1
vote
0answers
7k 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 ...
0
votes
1answer
43 views

Two websites in different servers has same cookie_domain but is not sharing session [closed]

I have two different sites that has their own server. Site#2 sends request to Site#1 for logging customer in. Request contains Allow Crendentials Header and response is status 200. Both sites has same ...
-1
votes
1answer
39 views

Empty LAMP Sessions [closed]

I have a LAMP server. Users log in and authenticate against the MySQL database. After successful authentication, session_start() is called. At no point is regenerate_session_id() called. I'm ...
0
votes
0answers
523 views

Apache on Windows, Cookie w/ PHP Sessions Bug

At work we use a Win7 box to run our site. I know not really an appropriate server OS, but it was working just fine until we upgraded to PHP 7.1 and Apache 2.4 from PHP 5.2 and Apache 2.2. Now ...
1
vote
2answers
150 views

Open a non-console session when Windows boots

I know how to automaticaly open a console session when a Windows host boots (recommanded way is to use an encrypted password: https://docs.microsoft.com/en-us/sysinternals/downloads/autologon). This ...
5
votes
1answer
678 views

UDP Sessions and Ephemeral Port Selection

I would like to ask community to help me finding answers to the following questions: According to RFC 6056 an operating system should pseudo-randomly select ephemeral ports for each transport layer ...
0
votes
3answers
87 views

Apache Allow Only Authorized Users to Access File

I have an existing web site that needs to link to a pdf file on our web-server. The problem is, ONLY users who have been authenticated by logging into the site should be able to view the file. I have ...
0
votes
3answers
795 views

rm -rf cannot delete session files

1. list the files in session dir $ /var/lib/php/sessions$ sudo ls -la total 20 drwx-wx-wt 2 root root 12288 May 20 14:26 . drwxr-xr-x 4 root root 4096 Feb 26 21:15 .. -rw------- 1 ...
0
votes
0answers
67 views

Automation script won't work if no one is connected to a Windows VPS

I have a automation script (mouse and keyboard automation) which works with a application installed on a Windows Server 2012 VPS. It works perfectly when I am connected to the VPS via RDP. But when I ...
0
votes
1answer
2k views

Kill defunct xrdp session — xrdp users cannot log on

user cannot connect to server over xrdp tested using linux remoted desktop client, as well as windows remote desktop client error messages is "error: problem connecting" /var/log/sesman.log shows ...
-1
votes
1answer
223 views

How to protect php script, run by cron

I have php file that generates my sitemap.xml file according to DB. I have a cron job that run this php script every month. How can I protect the php file, so only cron can run it, or certified user? ...
3
votes
0answers
758 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 ...
0
votes
0answers
111 views

HAProxy create new sessions in Tomcat

I'am using HAProxy 1.5.18 on CentOS 7.3 and Tomcat 8. HAProxy create a lot of sessions (more 350) on my Tomcat Server! Every 10 seconds, a new session is created. I think it is this line : option ...
1
vote
2answers
1k views

php session.save.path that is not from my ini file

I have set up a custom php.ini for a dev site (the production site will eventually be on the same server) - it sets the session.save path to a directory specific to the site. You can see the result ...
1
vote
0answers
507 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 ...
1
vote
1answer
230 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 ...
0
votes
0answers
326 views

Session issue on Load balancing URL Apache Web Server + Tomcat 7.0.54

I'm facing the session issue on the load balancing URL, the session is not getting created but it works fine when I use the Tomcat URL directly. Controller: @RequestMapping(value = "/...
1
vote
1answer
4k views

Changing session.save_path in php.ini not working

Fedora 25 + PHP 7 + Apache 2.4.23 Hello, after I change session.save_path in php.ini and restart apache, I can successfully verify that it's modified with: $ php -i | grep session.save_path However,...