#!/bin/bash # Create a demonstration HTML file to visualize cookie isolation problems # This script generates an HTML file that shows which cookies are visible across deployments echo "Creating cookie isolation visualization tool..." # Define HTML content cat > /home/whitex/dev/github/learnhouse/cookie-isolation-demo.html << 'EOL'
This tool helps visualize cookie isolation between DEV and LIVE LearnHouse deployments. It will help you identify if cookies from one deployment are visible to the other, which could lead to session contamination.
First, set test cookies on both deployments:
Now check if cookies are properly isolated between deployments:
Results will appear here after running tests...