Questions tagged [Sessions] (267)

2
answers

How to implement a mechanism to ban and delete a user session?

Arose the need to have for the admins the ability to ban user on the website. He implemented the ban, but it is necessary that if there is a session (user is online) - she was purged or deleted immediately after pressing the button "ban", display the appropriate message. The first thing that comes to mind, using the table o...
Kacey38 asked April 19th 20 at 12:05
1
answer

How to save the current session of python when parsing json?

import requests headers = { 'Accept': 'application/json', } params = ( ('userName', 'Login'), ('password', 'Pass'), ('propertyId', '1'), ) response = requests.get('http://ссылка the resource/api/Account', headers=headers, params=params) print(" ") print("Status code:" + str(response.status_code)) print(" ") if respons...
Ulises_Rice asked April 8th 20 at 18:25
1
answer

How to make a request from server to server?

How to make a request from server to server (API) where the аuth use cookies and not jwt
Taylor_Kuhlm asked April 8th 20 at 17:22
0
answer

Node.JS how to save session data in Socket.IO?

Good day to all. Have not worked with Node.JS but because of the Angular decided to try to make api on it. Basically, the server will respond to requests on the socket. The problem is that every time angular'and the server is sesija with a new ID and a new cookie. Even if to save it in DB metodem save() (using RethinkDB, yo...
Aimee.West28 asked April 8th 20 at 09:19
1
answer

How to make a continuous update session?

Good day, you need to implement an algorithm which will be every second to update the session in local storage on the js WITHOUT reloading the PAGE, tell me how to do it?
callie_Crem asked April 8th 20 at 02:29
1
answer

VC saves a cookie?

When I clean my local store cookies and sessions, VC continues to understand that I'm the user that he needs, he is able to recognize me without a cook and without sessions, the question of how it is implemented from the point of view of the service ? (I completely removed all the info I have on the VC website, no need to w...
matteo.Dach asked April 8th 20 at 02:20
2
answers

How to add something to the session?

Can't complete the session. During login everything works fine, the session is stored in mysql. But in the block app.post("/addt", I need to complement an already existing and there is already some reason the variable is not created. How to be? app.get("/",(request,response)=>{ if(request.session.userId && reque...
Else_Batz asked April 8th 20 at 02:09
3
answers

Need to make a profile exit the session exactly how do I to implement it?

Guys please help!I need my website so I can profile exit to do just by clicking on the exit button.And at the moment I have so for example, I went to your profile but when you press the back arrow in the navigation browser I already exits.But I would like to do for example if I am in my profile that I have on all pages of ...
Vladimir_Schulist asked April 7th 20 at 15:46
1
answer

Php, error file access sessions session_start(): Failed to read session data: files?

Good evening, we have: Centos 7, nginx, php-fpm72, percona, opensips 3.0 Try to install the web panel to opensips, faced with the problem that the username and password do not fit(even checked the hashes of all right) if you enable logs in php I saw that there is a problem with access to the directory with the sessions: 202...
Edmund_Kunde52 asked April 4th 20 at 12:30
2
answers

The alternative X for Windows?

Hello! In Linux, you can raise X session and connect to it via VNC over x11-vnc. Also there is possible via RDP using xrdp to connect to VNC server. But what is the alternative sessions for Windows and have some alternative Protocol for remote access?! Tell me, please!!!P. sP. s Please RDP server and other windows-native st...
Sarai_Jaskolski asked April 4th 20 at 01:35