Yeah, I replaced the function with that snippet and it seems to work perfectly now. I guess it was an issue with the session.
Thanks for the quick solution, I appreciate it!
Kevin Quach