An unregistered user's cart item is displayed with a different unregistered user in Drupal Commerce

Using Commerce 2 in Drupal 8.8 I have the problem that if an unregistered user places something in their cart (and does not check it), another unregistered user sees these items in their block "cart" (provided by the view (order) ). They are not displayed on the users' page / cart.

java – List of pet stores near the user's location in Android Studio

Would you like to know how to list establishments, for example, pet stores near the user's exact location?

I have been researching and I have not found how to do it or something that gives me a north, I know I should use the Google Maps API and play in a list view, but I am a beginner and I don't know exactly how to do it.

It would be basically like ifood does today, showing how many km are the restaurants.

I'm waiting, if you can help me …

http – How can I protect the user's password?

I am creating a Mean stack application.

I have noticed by chance that every time I send the user's credentials to the backend, I can "fish" it from the network option in the browser (F12). View image?

First: what is the fastest and easiest way to handle this?

Second: and the more elaborate approach.

Thanks in advance,

P.S. I'm coming to Stack Overflow, this kind of open-ended question is not your focus, so take it easy if possible! 😊

enter the image description here

Is it safe to save a user's email in the php session variable for later use?

I am in the process of creating a password reset functionality for my project. Currently, my website sends a password reset link to the user's email if requested and validates the link correctly when clicked (check selector and validator tokens and it did not expire) before displaying the form to create a new one password. The problem I am having is finding a way to update the correct user password in the database once I submit the new password. One method I've thought of to accomplish this is to get the email associated with matching selector and validator tokens in my password reset database table and store it in a session variable so I can access another php file to update the password of that user in my users database table. I wonder if this approach has any security risk for the user or is it a valid method?

google analytics: home page of the user's first visit

I have spent hours and hours trying to find the answer and it seems that Google is being intentionally lazy about this …

In Google Analytics, "Landing page" is the first page IN ONE SESSION (test). And a session only lasts 30 minutes.

How do I keep track of the first page FOR A USER? (the page they visited when First I visited my website, even if it was days / weeks ago, I am not interested in subsequent visits from the same user)

Reason: I would like to know which page generates the most conversions for me and for that I am only interested in landing pages "for the first time", I don't care if the same user later returned to another page. So if I see a target conversion, I want to track their login page.

I hope to clarify. Reformulation: I am interested in the most popular "gateway" pages for users (not sessions). If the same user 3 months later I came to another page. I am not interested in that "second" landing page.

YouTube: add subtitles to another user's video

Is there a way to create subtitles and make a pull request request to the loader to add them?

Thank you!

magento2 – How to show the client's navigation link according to the user's permission?

I have a resource / permission declared like this

            
            
            
            
            
            

And called to account navigation like this

            
            
                companycsv/address/index
                Manage Addresses CSV
                Magento_Company::csv_import
                145
            
        

The question is how can I show that link only if the permission is Magento_Company :: import_addresses is set to true?

magento2: shows the client's navigation link according to the user's permission

I have a resource / permission declared like this

            
            
            
            
            
            

And called to account navigation like this

            
            
                companycsv/address/index
                Manage Addresses CSV
                Magento_Company::csv_import
                145
            
        

The question is how can I show that link only if the permission is Magento_Company :: import_addresses is set to true?