Hi there,
I take it you are trying to redirect form a sub frame to the parent frame, right??
If that's the case, you'll need to send some JavaScript to the browser to do the redirect, like this:
Code:
Response.Write("<scr" & "ipt language=""JavaScript"" type=""text/javascript"">" & vbCrLf
Response.Write(vbTab & "top.location.href='" & YourRedirectPage & "';" & vbCrLf
Response.Write("</scr" & "ipt>")
I split up the <script> tags to make sure that your ASP page doesn't get confused by an ending (server side) script tag.
This code sends the required JavaScript to the browser, telling it to load the page
YourRedirectPage in the top frame.
Alternatively, you can make login.asp redirect itself to the .top. Personally, I prefer the first option however.
HtH
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.