Toggle Nav
My Cart 0

How to Validate HTTP_VIA in Magento 2

How to Validate HTTP_VIA in Magento 2

How to Validate HTTP_VIA in Magento 2

Validate HTTP_VIA to verify the proxy address of an incoming request matches what is store in the $_SESSION variable.

To know how you can set this field from Magento admin for your online store, go with the following steps:

Steps for the set Validate HTTP_VIA:

  • Step 1: Login with your Admin panel
  • Step 2: Go on the sidebar and click on the Stores option
  • Step 3: Then go on the Settings > Configuration
  • Step 4: Then expand the General tab and then click on the Web option
  • Step 5: Then select the Session Validation Settings section
  • Step 6: Then go on the Validate HTTP_VIA field
    1. In that first uncheck the Use System Value checkbox.
    2. From the dropdown, select "Yes" for the check proxy address.
  • Step 7: If you are done with these configuration then click on the Save Config button.

Validate HTTP_VIA steps
October 22, 2021
Did you like this post?
0
0