Questions tagged [session]

269 questions
0
votes
0 answers

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 seemingly randomly, all PHP sessions break, and no new…
Hobbes
  • 101
  • 4
0
votes
3 answers

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 tried everything I can think of and I just can…
pbuchheit
  • 139
  • 10
0
votes
0 answers

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 am not connect, the script won't work! It…
0
votes
0 answers

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 httpchk OPTIONS / How can I stop the creation of…
Djé Djé
  • 13
  • 2
  • 7
0
votes
0 answers

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 = "/authenticateUser", method = RequestMethod.POST, consumes =…
0
votes
0 answers

How to check who or what removed my RDP session?

As in the subject. I think it would be a good to know as much as possible things to check who or what removed my RDP session. For instance, we have a developer console server, where we do some development and many times we leave the sessions…
0
votes
0 answers

How do I connect to an RDS sessionhost farm without DNSRR

I have an RDS deployment on Windows server 2012 R2. There is 1 connection broker, which also has the RDWeb roles installed. There are 2 session host servers; Lets call them shost1 and shost2. I have set up the loadbalancing rules within the…
0
votes
2 answers

How do I make PHP store sessions in redis on RHEL/CentOS?

Have some development and staging VM's running RHEL 7.2 with PHP5.6 via webtatic repo. Have both Apache w/PHP and Node.js running fine. Have redis deamon running fine. Have not found a good best practice for enabling PHP to store sessions in redis.…
rickatech
  • 141
  • 8
0
votes
1 answer

What is the meaning of Haproxy's sessions info page?

I'm using haproxy 1.6.8. The following information is output on echo "show sess" | nc -U /var/lib/haproxy/stats 0x1696d40: proto=tcpv4 src=67.55.94.187:51183 fe=adf be=adfback srv=capped ts=08 age=0s calls=4…
rlib
  • 195
  • 1
  • 1
  • 7
0
votes
0 answers

Tracking network activity for user login/logout/session timeout/session expired

Porting from StackOverflow (35741797), since it might be a bit more relevant here as it is related to network. We have a situation on our side where we are trying to trace the login/logout/session expiration/timeout for particular users. To explain…
Kaustubh
  • 101
  • 1
0
votes
1 answer

Attach X2Go to X Session ":0"

I don't know if I'm right in concept. But when I connect to a remote host (a cloud VPS) by X2Go, $DISPLAY variable echoes ":50", I need that variable equals to ":0" when I connect to that host. How can achieve this? Thanks in forward.
0
votes
1 answer

What is right way to tmux with fabric django?

1.I am doing this on local machine tmux new -s amazon then I ssh in to the server into tmux window shh user@amazon then I detach it ctrl b-d Into fabfile.py I am doing like this local("tmux a -t amazon") #attaching detached…
0
votes
1 answer

IIS 8.5 Increasing Session Timeout

I'm trying to debug and error in an ASP.NET application deployed to IIS 8.5. Users noted that Google Chrome was hanging and displaying an Aw Snap notice when hitting submit on a form. The application uses Ajax to POST and GET data and the page is…
Gareth
  • 735
  • 5
  • 10
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
  • 17
  • 32