Forum Discussion

IVD's avatar
IVD
Icon for Nimbostratus rankNimbostratus
Oct 05, 2024

APM issue errorcode=19

hi, For lagacy purpose, I need to create an APM on my VS. I don't understand why but applying any Access Policy on my VS result on an errocode=19 "access denied" The VS is a basic HTTP Virtual ser...
  • Lucas_Thompson's avatar
    Oct 07, 2024

    This error means that the user's browser:

    1- Accessed an APM virtual.

    2- Got a 302 to "/my.policy" with a cookie to use for that request.

    3- Accessed "/my.policy" without the cookie they just got.

     

    Like most web apps, APM's session management relies on cookies. By default APM's cookies have the "secure" flag. 

    To understand the issue more fully you can read about how cookies work, especially read the part about the secure flag:

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#block_access_to_your_cookies