Running linux RH 7, apache and php 4.04 as a module. I have a web pagewith an image that is chopped up and regrouped into a table. There are a few spots on the image that link (a href="") to other pages and I use some javascript for rollovers. Now, within the table, I have two input fields and I have another word which is part of the larger image that the user clicks to submit the form. This is done with <input type="image" src="xxx">. The image can be clicked which in turn calls a login script, if the form data is found in the database a session is started and a few session vars are registered. The SID is passed along with the URL and everything works fine. My sticking spot is that I would like the image that is used as the "submit" button for the form to also use "MouseOver". In my above outline, the image works fine as a submit button, but I am afraid people may not think to click there to submit thier login info. I tried the following javascript to the form page which gives me my "mouseOver" functionality but thats where it stops. <SCRIPT LANGUAGE="Javascript"> function sub() { document.mainlogin.submit(); } </SCRIPT> ...... <a href="javascript: sub()" onMouseOver="if(document.images) document.logo211.src='5x2over.gif';" onMouseOut="if(document.images) document.logo211.src='5x2.gif';"><img SRC="5x2.gif" NAME="logo211" BORDER=0 height=20 width=79></a> My login script creates a session and then uses header()(and I append the SID) to forward the user to the main page where I again issue "session_start" to continue the session. In the browser, after pressing the submit image it just stays there, but on the server I am having two sessions created. I presume one for the loging script and another when session_start is called on the main page. One session contains the appropriate registered vars but apparently the SID is not being passed from the login script to the main page. The only thing I have played with is the form, not the login script or the main page. When I dont use javascript for submitting the form everything works fine, yet when I implement javascript to submit the form it ceases to function. Anyone have any ideas? -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]