Questions tagged [session]

274 questions
0
votes
0 answers

How can I force logout of other users with same username

On user login I need to kick all users with same username except for the current one, thus automatically log him out from other ttys. I know that one can kick other users via slain, but not much more. Example: user1 logs in via session1 => everyone…
Denys S.
  • 225
  • 1
  • 4
  • 12
0
votes
1 answer

PHP session files unable to save after a mass deletion

I had an excess of php sessions files created on a server in /var/lib/php5/ so I deleted them, but now php5-fpm and my server refuse to write sessions files. I assumed that the session files would be able to be recreated, but now the application…
Kzqai
  • 1,278
  • 4
  • 18
  • 32
0
votes
0 answers

Starting PHP session sometimes take very long time

Sometime ago we have came upon interesting problem. Sometime (not everytime, lets pretend nearly each 100-200 hit) session_start() takes very long time. Up to 60 seconds. (longest one was 63, generally around 50). Server run CentOS 6.5 (linux…
TKF
  • 1
  • 2
0
votes
1 answer

Store OpenLDAP connection on a php session with cookies

Só I have a ldap server that should be managed via php, I can modify anything in Apache,OpenLDAP or php. But as this site already covered I can't store a LDAP connection in a _SESSION variable on php... So is there anyway to store this on cookies?…
0
votes
1 answer

phpinfo showing HTTP_ALLOWCOOKIES set to NO - how to change?

We have a dev and live server that were seemingly built identically. However the live server phpinfo() page shows the following in the "Apache Environment" section HTTP_ALLOWCOOKIES NO Don't see this line in the Dev environment. Live environment…
0
votes
1 answer

Losing session data when switching web servers on Azure web farm with 2 web servers. How can I share the keys with each server?

Losing session data when switching web servers on Azure web farm with 2 web servers. How can I share the keys with each server? Our websites were working flawlessly to be exaggerative when they were running on Rackspace. We have since moved to Azure…
jaxcoder
  • 31
  • 1
  • 8
0
votes
1 answer

PHP session error: Failed to write session data (files)

I have a problem that I cannot resolve. All PHP sessions are stored in the directory /var/lib/php5/sessions/ and session files are stored there. But completely randomly I see the following error: Failed to write session data (files). It happens 1 -…
mkurent
  • 11
  • 3
0
votes
1 answer

RDS Login for additional RDS-Host not possible

Following Situation: Server 2012 R2 (Name: TS) - RDS Gateway, Broker, Host - In LAN - Self created certificate "rds.example.com" Server 2012 R2 (Name: TS1) - RDS Host - In LAN - Self created certificate "rds.example.com" (Change by Power Shell to…
Thankful
  • 1
  • 2
0
votes
0 answers

Too many php session files created on one server

We have a web application running multiple instances on different plesk servers. On one server we see quick generation of php session files under /var/lib/php/session directory. Which grows in 100 thousands in short period of time and clean-up of…
RayF
  • 1
  • 2
0
votes
1 answer

How does a load-balancer manages end user http sessions?

I would like to know, How HttpSession works on Load balancer? How Load balancer knows for the particular request need to send the respective Web Server? Here's what I would guess: 1. load-balancer works based on user's region like county, state. …
Premraj
  • 425
  • 6
  • 13
0
votes
0 answers

secure cookie in Apache => php session resets on every page load

I have set secure cookie in Apache based on this tutorial. But php session resets on every page load. for example this sample code: displays different session id on every refresh page. php page is…
Metalik
  • 157
  • 1
  • 2
  • 10
0
votes
1 answer

Set Group Policy for RDP session users on selected Computers

I have domain users by group with respective privileges set via group policy. I.E (Department A has access to control panel and access to install software, Department B does not have both) My question: Some of our domain users are using RDP on a…
D_N_A
  • 3
  • 2
0
votes
1 answer

PHP Session sharing between HTTP and HTTPS

I am setting up a shopping cart website however I am having issues with sharing PHP Sessions between HTTPS and HTTP. My secure address: https://secure.domain.com My regular address: http://domain.com I had read some pages here on serverfault and…
cs378
  • 123
  • 1
  • 1
  • 7
0
votes
1 answer

Remote desktop to XP logs in ok but "server initiated disconnect" within 5 seconds

Context Several computed running Windows XP SP3 had remote desktop working okay. One could use Microsoft's client mstsc.exe on another WinXP, or rdesktop from Linux. Problem Suddenly one day, remote desktop started to have problems with rdesktop.…
0
votes
0 answers

HotSpot: Session Failed after Login with Phone Embedded Browsers

Some phones have their embedded browser when they are connecting to HotSpot. (For example in iPhone (iOS) or Windows Phone 8.1). The problem is after login into these browsers (with embedded browser), the session failed in the phone browser (For…
Vahid
  • 103
  • 1
  • 6