I am creating a webgl unity app that sits on a wp site and uses the wp accounts to store data. It works really well, however an issue I have is that currently a user can be logged in on two machines at once, and therefore use the app with the same account on two machines concurrently. Is there any way I can prevent this from happening? I have tried a few plugins that prevent simultaneous logins, however all of them assume that the user will be refreshing/changing page often, and so do not work for an app where you will stay on the same page for the whole session.
As I type this I’ve realised a potential workaround is setting some sort of flag in the database when the app starts and checking for it on login/clearing it when the game ends, but that sounds a bit janky and I am not sure how reliable onapplicationquit is in webgl, so would prefer a wp based solution rather than unity. Any ideas? Thanks in advance.
So you have these two options in the Admin/Settings/Discussion :
The problem: the second checkbox takes over the first one.
How can can i leave the choice to either login -or- fill in name/email ?
I have the following problem that I couldn’t find any solution for.
I have a simple custom login page, which I’ve managed to set up, so it redirects to the referred URL the user came from. The problem is, when user fails to authenticate – yes, s/he still stays on the same custom page, but the original referrer is lost, and now is replaced with the same custom-login page the user is currently on.
In short, what I want to achieve is:
- User clicks the link to the document and sees the info that he has to login first to see it.
- User goes to the login page, with HTTP_REFERRER set properly to the page he came from.
- User types wrong password and is kept on the same login page, with the original HTTP_REFERRER so that after he types in the correct password, he will be redirected to the original page he came from, instead of seeing the empty login page.
I’ve managed to do it with the proper login process, but it looks way harder when the page refreshes and loses its original referrer…
we moved a wp site from one amazon server to an other, domain is the same, and now we can not login to the admin, no error, no error when debug, db copied correctly, what can be wrong?
We are looking for the optimal sql login audit solution, with usable filtering.
Thus far we have looked into Server Audits and profiler but have concluded that extended events look most promising, unless anyone can show us otherwise.
Question is, is there any good way to filter unnecessary login events? e.g. when I connect using SSMS, immediatly about 10 login events are added and continue to pile up if I leave SSMS connected to a instance. Why is that?
This is our current implementation:
USE master; GO -- Create the Event Session IF EXISTS ( SELECT * FROM sys.server_event_sessions WHERE name = 'ServerLoginAudit' ) DROP EVENT SESSION ServerLoginAudit ON SERVER; GO EXECUTE xp_create_subdir 'D:\audits\Sessions'; GO CREATE EVENT SESSION ServerLoginAudit ON SERVER ADD EVENT sqlserver.login (SET collect_database_name = (1) , collect_options_text = (1) ACTION ( sqlserver.sql_text , sqlserver.nt_username , sqlserver.server_principal_name , sqlserver.client_hostname , package0.collect_system_time , package0.event_sequence , sqlserver.database_id , sqlserver.database_name , sqlserver.username , sqlserver.session_nt_username , sqlserver.client_app_name , sqlserver.session_id , sqlserver.context_info , sqlserver.client_connection_id ) ) ADD TARGET package0.event_file (SET filename = N'D:\audits\Sessions\ServerLoginAudit.xel', max_file_size = (20), max_rollover_files = (2)) WITH ( STARTUP_STATE = OFF , TRACK_CAUSALITY = ON ); /* start the session */ ALTER EVENT SESSION ServerLoginAudit ON SERVER STATE = START; GO
If you search for Cristiano Ronaldo on Google, one of the search results is his Instagram page. When you click on that search result, you are met with a login wall. You cannot view any details from an Instagram page without logging in first, as reported here and here and here.
I thought that Google did not show search results that link to pages behind a login wall. Is my understanding incorrect? How does Instagram convince Google to show its pages in search results, despite the login wall?
The reason that I’m asking is that I am considering developing a login wall for my own website that I am developing. It is important to understand how would treat a website with a login wall.
I am getting below error while trying to connect SQL from remote server. Local login is working fine. Can anyone help on this. Thanks in advance.
"Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 10.186.12.10]"
My environment :
Client – already test AD/DNS domain joined
Remote SQL Server – already prod AD/DNS domain joined
I have running inside test AD/DNS server isolated environment. No relationship between test AD/DNS server and prod AD/DNS server. Test domain name : contoso.com Otherwise , PROD domain name : contoso.com
Test AD/DNS Server : 10.190.10.1 Prod AD/DNS Server : 10.150.10.1
Do I have to join prod AD/DNS client machine as well ? I mean , is there any workaround solution ?
Thanks in advance,
First-timer over here!
Domain for the buggered website (you’ll see what I mean!) http://www.clarkephotographic.co.uk/
URL I am using to try to login to WordPress backend to fix the issue http://www.clarkephotographic.co.uk/wp-login.php
So, when I enter my username, password and then proceed to login, I get the following error message "ERROR: Cookies are blocked due to unexpected output"
The problem I have is that in order to resolve the issue in the first place I would need to login, but as you can see I’m in a bit of a loophole.
Can anyone offer, in as simple terms as possible, any advice on how to get around this, as currently, anyone visiting the site would most likely move onto something that doesn’t look like a piece of $ hit. I’m planning on closing the site down as covid has dried up that little avenue of pleasure. Onto another project that is more pandemic proof!
Many many thanks in advance
I have a page at https://sportysacademy.com/cfi/ when I enter the password for the password protected page, I get redirected to https://sportysacademy.com/wp-login.php?action=postpass with the error message
Error: The username field is empty. Error: The password field is empty.
Any ideas as to why that’s happening? I’m at a loss.
Brief: I use Gravity Forms on my site and i have mobile verification plugin in it. when the user wants to send the form, they need to confirm their mobile number using the code we automatically send to them.
After it; for login in the site, they need to take the same process of phone verification again to enter their profile. because Gravity Forms is not synced with user profile (which is Woocomerce my account page).
I need a code to make the entire process done with one verification only. So If the user is logged in, no need to verify their number again on the form page.
what code do i need to use?