yes home.pl and welcome.pl works
they is no difference on scripts bitween home.pl and myaccount.pl
i copied content of welcome to myaccount.pl, bt myaccount.pl was not working
i think the problem is here
print "Location: welcome.pl?sid=$id\n\n";
it may be that am sending the session and generate the session sid to only welcome.pl
where by myaccount.pl cant retrieve sid
So maybe now is a good time to post three self-contained, runnable programs so we can try to reproduce your problem?
Also, are you clear on the concept of session data, and how it will be passed around between your scripts? What mechanism are you using for passing the session id from welcome.pl to myaccount.pl?