Questions tagged [session]
274 questions
2
votes
1 answer
Really destroy all PHP sessions on server
I have a PHP web application running on a Linux server. It is accessed via a browser.
It uses PHP sessions to store the user's login state and userid. I need to log out all users.
I have root access, and am attempting to destroy all the PHP sessions…

Hippyjim
- 211
- 2
- 7
- 19
2
votes
1 answer
Limit redis connections when using PhpRedis as session store
We are using PhpRedis as a session handler for PHP sessions. Other than that, we are running a standard Apache/PHP configuration.
Since we are using an external Redis-as-a-service provider, we would like to keep the number of connections low as they…

DannyB
- 143
- 7
2
votes
1 answer
Varnish not caching website which have session
I tried curl -I domainname and here is the response.
HTTP/1.1 200 OK
Date: Tue, 21 Apr 2015 14:49:09 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.3.3
Set-Cookie: PHPSESSID=kpgqqefkge38jlqc608hq12046; path=/
Expires: Thu, 19 Nov 1981…

user1099944
- 41
- 4
2
votes
1 answer
Why does my Classic ASP website keep losing it's session?
Good Morning,
We have recently moved from a server to a VPS with an external supplier, both computers are running Windows Server 2008 R2 Standard.
However since I moved it to the new server when you attempt to checkout and login it loses the…

Shaun S
- 133
- 1
- 5
2
votes
1 answer
subdomain doesn't recognize PHP sessions
I have a website with a user database and a login form. This system has worked 100% flawlessly. I have a main site with the name= www.example.com and a subdomain called accounts.example.com. When a user logs in, he or she logs in on the main site,…

Ryan
- 23
- 1
- 5
2
votes
1 answer
Varnish doesn't work with session on PHP
I have got varnish installed on my server. I have a page on my site which i would like to get cached via Varnish.
With fresh varnish installation, I created a PHP page with some content in it. loaded the page. Varnish worked fine.
But as I added…

user1099944
- 41
- 4
2
votes
2 answers
How can I speed up PowerShell cmdlets that are using the -CimSession parameter?
As the title says, how could someone speed up the execution of this tiny script? Am I using the New-CimSession that right way anyway?
$computers = Get-ADComputer -SearchBase "OU=W2012,OU=Servers,DC=contoso,DC=com" -Filter *
foreach ($computer in…

Matthias Güntert
- 2,438
- 12
- 39
- 59
2
votes
1 answer
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
quantity of session files is: 21000 (100M RAM)
when I…

TKVideoChat
- 21
- 1
2
votes
1 answer
BIND session key
When I restart or start my BIND DNS server, I'm getting the following in the /var/log/messages log file.
Jan 26 07:50:30 dev named[306]: could not create /jail/bind-9.9.4-P2/var/run/named/session.key
Jan 26 07:50:30 dev named[306]: failed to…

user192702
- 931
- 5
- 15
- 22
2
votes
4 answers
AWS EC2 PHP session_start with permission denied
I have an strange issue related with PHP an the session save path. I have configured in my php.ini the session.save_path = "/tmp", and I know that is correctly configured since in the server I could type the following command and the command result…

alvarolb
- 131
- 1
- 4
2
votes
0 answers
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 more clients than users, we will have a user…

Pratt Hinds
- 143
- 1
- 2
- 11
2
votes
1 answer
Definitions of Active, Idle, and Disconnected Sessions in regards to Active Directory
We have a couple of users that continue to get locked out.
Currently sessions never end unless a user actually locked out (from my understanding). What are the "definitions" of the different session types? I'm actually only really curious about…

Jared
- 281
- 2
- 4
- 11
2
votes
1 answer
Active Sessions Performance Counter for Web Server
I would like to monitor the number of active sessions for my ASP.Net 4.0. It is hosted on IIS7 Windows 2008 Server.
When I looked at the Performance counter, I saw many instances. How could I know which instance is the application instance I want…

TTCG
- 121
- 1
- 3
2
votes
1 answer
How to store php sessions using memcached and unix socket
I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, however, I am unable to disable networking. I added…

laertiades
- 133
- 3
- 9
2
votes
1 answer
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 session state for both. I realize that it's best to…

Shawn
- 21
- 3