_parent and PHP

Hi there, I’ve a frameset and in the mainFame, the login function, the idea is if the login is ok, redirect to another frameset, but I don´t know where to place the _parent, I think I’ve 2 choices, one here:


and the other here:

header ("Location: $FF_redirectLoginSuccess");

but I’m not sure, any help please?

Thanks a lot!!!