Forum Moderators: open
The user logs into their portal, then is presented (among other things) a link to my application, with all of the data needed in the querystring, for them to automagically login to my app (so they don't have to enter login credentials twice).
When you click on the link, my app should appear in their frameset, and you should be logged in and ready to rock n roll.
Here's the problem: my login page appears, but the user is not logged in. If I copy and paste the url into a new browser, the auto-login happens great, but refuses to work in the frame.
It seems like the data is not being passed for some reason, but I can't tell what is happening. Anyone have any ideas what the problem might be? Is it on my end, or does it have to do with the frame?
Thanx!
-Moz
****************************************
<HTML>
<HEAD>
<TITLE>page title</TITLE>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"[smilestopper])&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW ¦¦ innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</HEAD>
<FRAMESET rows="147,*" FRAMESPACING=0 BORDER=0 MARGINHEIGHT=0 frameborder="0">
<FRAME SRC="dominodatabase.nsf/allPagesLookup/top_nav2?OpenDocument" NAME="top" SCROLLING=NO MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0>
<FRAME SRC="dominodatabase.nsf/allPagesLookup/buy_main2?OpenDocument" NAME="main" SCROLLING=YES MARGINHEIGHT=0 MARGINWIDTH=0 BORDER=0 FRAMEBORDER=0>
<noframes>
</noframes>
</FRAMESET>
<frameset>
</frameset>
</HTML>
*****************************************************
And the page in the frame has the following for a link to my site:
*****************************************************
<TD WIDTH="150" HEIGHT="32" VALIGN="CENTER" STYLE="background-color: #CCCCCC"><FONT FACE="ARIAL" STYLE="font-size= 7pt;" COLOR="#666666"><P><A HREF="HTTP://WWW.MyURLIsHere.COM/DEFAULT.ASP?USERID=JMARTINEZ&CUSTNO=018&CUSTLOC=018-44570&REFER=FE&START=CREATE" CLASS="SERVICESTABLE">WORK ORDER REQUEST</A></P></FONT></TD>
*****************************************************
In my application, I perform a redirect based on the parameters passed in. I was using response.redirect, and that apparently doesn't work in a frameset, so I changed it to a server.transfer, and now it works fine.