OK that didn't work. I added an echo on the search.php(second bit of code) for both values and it returned the search that gets typed in but not the sesid. Any ideas? It has to be something wrong with the first bit. I will try to echo right after the jfactory to make sure it is grabbing the logged in userid and post what I get.
edit: yup it is grabbing the correct ID and putting into the variable $ses_id
Last edited by turkmeister; 10-01-2012 at 09:38 AM..