Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames doing the opposite of what want them to :)

Status
Not open for further replies.

CyrusAyers

Programmer
Feb 4, 2004
25
0
0
US
Thought id cheat and ask...
Is there a way to refresh the contents of a frame from within <%%>? I would like for the "Links" frame to display the members only links once the LoginValidate.asp page sets the session variable for a good loginID:
Code:
<!-- LoginValidate.asp: -->
<body onload="javascript:window.parent.links.location.reload();">

P.S. when using response.redirect within frames/index.hmtl if a user hits Refresh on the browser bar, it reverts to the index.html - can this be avoided easily, or do i need to try to control it with variables?

Thanks all :)
 
at least one session variable for logged in would be your best bet, and you cane use a "2 part" page, basically two pages in one with conditional for logged in that way you only have to redirect to itself, and once logged in the page changes appearance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top