<%@ Language="VBScript" %> <% Option Explicit %> <% ''''''''''' 'UNIQUE ID' ''''''''''' mvar = Trim(Cstr(Month(Now))) dvar = Trim(Cstr(Day(Now))) IF Len(mvar) = 1 THEN mvar = "0" & mvar END IF IF Len(dvar) = 1 THEN dvar = "0" & dvar END IF ui = Right(Cstr(Session.SessionID),3) & Year(Now) & mvar & dvar & Timer %>Your unique id is now stored in the VBScript variable ui. I like to use the Timer property. This is the amount of seconds, to the 100th of a second, that has elasped since midnight. Makes duplicating this ID virtually impossible since it also include the last 3 digits of the Session ID.