Questo codice è lato client, non vedo il problema...