Questions tagged [session]

269 questions
14
votes
7 answers

Restore SSH session

I have connected to my server via SSH and created a process, but suddenly my internet connection got disconnected. I know that the process is going on, but how can restore previous session to see the progress of it?
Arash Mousavi
  • 658
  • 3
  • 8
  • 21
13
votes
1 answer

Connecting to specific session using remote desktop

We have a Windows 2008 R2 server with no active directory, single credentials for all. It is possible to disconnect from a session without logging off. Is there a way to connect directly to a disconnected session while I know its Session ID…
Ofiris
  • 243
  • 1
  • 3
  • 9
9
votes
3 answers

apache2 - SSLSessionCache running but not working

I run a debian squeeze standard Apache installation (2.2) and make use of SSLClientCertificates to authorize users. This works fine so far. But we noticed a slow down of some parallel requests and tried to check if my SSLSessionCache is working. So…
Janning
  • 1,191
  • 1
  • 19
  • 35
8
votes
3 answers

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 15:55:35 2015] [error] [client xxx.xxx.xxx.xxx] PHP…
Kzqai
  • 1,278
  • 4
  • 17
  • 32
8
votes
4 answers

How to limit number of sessions?

I need a way to track and limit web sessions to a web app. A "session" is loosely defined as the single user browsing the pages of the said web app. I think it can be translated to: a session is defined as a tuple alternatively as…
the-wabbit
  • 40,319
  • 13
  • 105
  • 169
7
votes
1 answer

Memcache+PHP session tuning: How does memcache expire keys?

I've done some research into this and have not found a definitive answer. We have a web app that is using the PHP+Memcache session handler. I have several questions, all interrelated, but ultimately my issue is, "Why are PHP sessions apparently not…
JDS
  • 2,508
  • 4
  • 29
  • 48
7
votes
1 answer

Having problems with maintaining sessions across multiple Amazon EC2 instances

One of my sites is hosted via Amazon EC2 service. The problem starts happening when the site faces a heavy load which in turn spawns a new EC2 instance via AutoScaling. This is good but the issue is when these instances are killed (due to lack of…
Chantz
  • 215
  • 2
  • 10
7
votes
3 answers

ASP.Net State Service missing from Services

The ASP.net State Service appears to have mysteriously disappeared from our web server's Services list after changing the .Net version in an IIS app pool to v4 and then changing it back to v3.5 again. We're not even sure if that's related. Does…
TimS
  • 318
  • 2
  • 3
  • 13
7
votes
2 answers

Run a script after I unlock my Windows session?

How do I run a script each time I unlock my Windows 7 session? So, if I lock my session and then log in again, I want the script to run. Do login scripts configured in the Group Policy do this or will they only work the first time?
Tamara Wijsman
  • 388
  • 2
  • 4
  • 16
6
votes
1 answer

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 connection. For TCP, which is stateful protocol,…
Yury
  • 119
  • 4
6
votes
3 answers

PHP on Windows - ps_files_cleanup_dir error

I am occasionally getting the following error when loading a PHP page: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(C:\Windows\TEMP) failed: No error (0) in C:\server\default.php on line 299 Month-old sess_ files in C:\Windows\TEMP…
Mooseman
  • 163
  • 1
  • 7
6
votes
3 answers

How to reset a tcp connection immediately on both ends on a certain condition using linux netfilter/iptables?

Dear Serverfault community, I have the following problem: I need to reset (disconnect) tcp connections on both network sides immediately if a certain string is encountered in the packet data. I don't have control over the applications on both sides…
Jens Moser
  • 83
  • 2
  • 6
6
votes
4 answers

Is Tomcat Shared Session / Cluster between two machine possible?

I have a setup of several Tomcat servers distributed between a few servers, all running the same thing. Apache is on top of Apache and a loadbalancer in front of the Apache servers. I want to cluster the Tomcats using Shared Session to minimize…
Snorri
  • 111
  • 1
  • 3
5
votes
2 answers

Is installing multiple redis instances on the server a good idea?

As title says. I'm considering creating a state service farm using redis, and I'd like to handle multiple "regions" - that way, if a service goes down only a single region should be affected. This may seem like a good idea initially, but I'd rather…
Maciek
  • 155
  • 2
  • 6
5
votes
1 answer

Session variables not persistent in PHP5/Apache2/Ubuntu12

I have a website that uses session variables (in PHP) to know if the visitor is entering the website or not. If he's new, then I redirect him to the detected language. But if he's not new, you let him go wherever he wants to (even the pages in other…
Diego
  • 145
  • 1
  • 6
1
2 3
17 18