I have programmed a site that asks users to log in and they are then given a session ID/variable, which is passed from page to page through links, i.e. somewhere.phtml?session=$session. This is working fine. But, I have a small search form on the right of all the pages in the site. Obviously, this form uses a submit button to send the form info and I can not append the form button, type="submit", string with the session=$session string. So whenever a logged in user uses the form and they are taken to the results page their session ID is lost. Is there any way of passing the session variable to another page through a form submission?
Thank you.