I'll look into the ssl but didn't the code above use sessions? I'll look more at the liinks your provided, thanks.
Also if I was just to pass username without password, then security wouldn't be an issue. If I was to use the above script, can anyone advise what's wrong with it as I can't get the username to be carried across to the other site.
Any samples on the SSL and Sessions to view?