Lightweight cookie module