Are you referring to the SSI frames hack?
If not, the script does not set any targets so by default pages will load in _SELF which means the same page from which the script was called. I run frames on my page and everything works great. It's a fatal mistake to use crazy target names and not keep track of 'em. That has nothing to do with the script. Or, maybe you use a javascript routine which forces a breakout of the frames? Remove it, if so, but that's not performed in login.cgi, rather that's in your login page HTML (i.e. the demo login page included in the docs).
If you are referring to the SSI hack where a user visits a forum topic and gets redirected back in a frames setup, then you simply did not cut/paste the correct URL into the config of login.cgi. I use it on my site, and trust me, it works fine. No bug reports from anyone on this aspect of the script.
Hope this reply addresses your issue. If not, I need the URL of your site and an explanation of what I need to do to create the problem when I visit.
------------------
From: Jim Goldbloom
UBB Code Hacker
http://www.accessdeniedbbs.net/downloads for latest hacks