Questions tagged [session]

274 questions
0
votes
1 answer

When set SESSION_ENGINE to memcached, Django website halts

I have set up memcached in Django using Pylibmc binding: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': ['10.241.1.1:11211', '10.241.1.2:11211',] } } I…
Yifu
  • 1
  • 2
0
votes
1 answer

PHP Session File Stored in Temp Directory - Apache

I am having a slight problem...I have a server that I set up using AppServ 2.5.10, running Apache 2.2.8 and PHP 5.2.6. This is running on Windows Server 2008R2. The problem is in order for the sessions to work, I have to be logged into the server.…
navalhawkeye
  • 3
  • 1
  • 2
0
votes
1 answer

iptables masquerading rules for established session

I have the following setup: Box1 [server]: eth0 with ip 192.168.2.18 is in the internal network with webserver running on port 80. Box2 [gateway]: eth0 with ip gw.gw.gw.gw with some port exposed to internet e.g. port number 3000. eth1 with ip…
Amit S
  • 153
  • 1
  • 6
0
votes
1 answer

ASP.NET MVC multi-instance session management on amazon ec2

I have a web application written in asp.net mvc2. Currently hosted on amazon cloud ec2. Because of growing traffic we want move multi instance enviorenment. I have a custom session class which currently initiate at session start (global asax) and i…
0
votes
1 answer

how to prevent windows server 2008 from automatically ending user sessions

i am connected to a windows server 2008 R2 server using a terminal TC (thin client). all of our applications are running on the server and if a user is idle for more than 5 minutes, his session will be ended and he will be loged out. i want to write…
Sina
0
votes
2 answers

tsdiscon after startup

I have a test server running on Windows XP SP3. I need to do the following: Boot Automatically login WWW user Start a WWW server (I'm using IIS Express) Disconnect (not logout) the WWW user (maybe using the tsdiscon command) This will allow to…
bbmelo
  • 11
  • 1
0
votes
2 answers

Monitoring PHP session size in Nagios

What are the options for monitoring PHP session size from Nagios? I want to identify sessions that go over a certain threshold because they have too much data stored in them. One option I can think of is listing the size of the files in…
Rich
  • 1,343
  • 7
  • 28
  • 39
0
votes
1 answer

About servlet and session configuration in Tomcat

I have two web application related questions: i) If a web application contains two servlets and a customer accesses these two servlets using proper URLs, how many sessions are created? One or two? ii) Could one use HTTPS for one servlet and not for…
0
votes
1 answer

Using APC compiled with mmap for session management

If APC is configured to use mmap does that mean virtual memory will be mapped to disk and I will not be using physical memory ? As my needs are very basic, rather than using memcached to implement memory based session management I wrote a custom…
Steve
0
votes
0 answers

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 to the WAN throuth a pair of redundant (HSRP)…
0
votes
0 answers

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 the highest session setup rate, the basic session is:…
Hans Yin
  • 1
  • 1
0
votes
1 answer

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 to use the same config on Production, and after a…
0
votes
1 answer

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 "more" the files they come back as "binary" and have "extra" characters that…
focaccio
  • 1
  • 1
0
votes
1 answer

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? log_format custom ' "TEST: $cookie_PHPSESSID"'; This will…
Filisimus
  • 3
  • 3
0
votes
1 answer

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 .azurewebsites.net) the authentication works as…