Server-side detection