Lado del cliente JavaScript único de generación de token

var now = new Date();
  timestamp = now.getFullYear().toString(); // 2011
  timestamp += now.getYear().toString(); //  
  timestamp += now.getMonth(),
  timestamp += now.getDate(),
  timestamp += now.getHours();
  timestamp += now.getMinutes();
  timestamp += now.getSeconds();
  timestamp += now.getMilliseconds();
Aamir Farooq