• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

frameset problem with asp.

Hi guys,

I have logout.asp file which contains this code:

<%
Response.Cookies("ID") = ""
Response.Cookies("userlevel") = "" 
%>

<head>
<meta http-equiv="Refresh" content="3; url=default.asp">
<title></title>
<meta name="Microsoft Theme" content="sumipntg 001">
</head>
<body>
<%
Response.write "Logout in progess..."

%>
</body>

....and  i have a frameset page contains 3 frames. Left-hand side frame is a TOC frame and one of the link is "Logout" which link to logout.asp and target frame is Main frame (right hand side frame). Top frame is a banner frame. What I'm trying to do is when I click logout i want it refresh the whole browser and go back to default page. What happend right now is it's only refresh the target frame.

How can I do that.

0
zamirjalil
Asked:
zamirjalil
1 Solution
 
mberumenCommented:
have you tried adding "target=_top" to your logout link?
i.e
<a href="logout.asp" target=_top>logout</a>?

0
 
zamirjalilAuthor Commented:
THANK YOU VERY MUCH mberumen! I've done it!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now