password protected directory prevents assets from loading

  • Trying to share a web export (r221) currently hosted in a password protected directory, setup through cpanel.

    When the user goes to the url and submits their username and password, the game assets intermittently load while the loading text goes red.

    Refreshing several times can eventually load the game, but in the meantime the browser console throws up 100's of 401 authentication errors.

    They are all images file calls originating from the runtime.js, e.g.:

    401 (Authorization Required) Error loading image 'http://xxxxxxxxxxx-sheet1.png':  Event {isTrusted: true} GET 

    xxxxxxxxxxx-sheet0.png etc. etc.[/p] [/code:3gbjxpc5][/p] [/p] Is anyone aware of Construct 2 web exports conflicting with password protected directories - should this work ok once the initial authentication has been done?[/p] [/p] OR, if this method is a dead end then perhaps somebody could suggest another way to host a password protected game for limited review?[/p] [/p] Any leads much appreciated - thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)