Hi,
The cookie would be a bit faster, but it is less secure: If people figure itn out, they coud potentially change the coocky & security levels. Wheres you could write a simple function which returns the security level, and place it in your include file, so it runs at every file you load.
J.