Re: Frames and response.redirect
- From: "Darren Kopp" <darrenkopp@xxxxxxxxx>
- Date: Sun, 9 Oct 2005 14:09:38 -0600
I have no idea if this works, but i would think that it would. With that
said, you said that you have to use javascript to change go to wherever it
is you need to go. Couldn't you do something like the following? -
FormsAuthentication.SignOut()
Session.Abandon()
Response.Write(script)
where script would be a string of something like
"<script>window.location.href = bla</script>". (I don't know what the
javascript for the command would be so I doubt what i put would work).
I would think that that would work, but again I don't know for sure. Just
an idea.
-Darren Kopp
http://blog.secudocs.com/
"PKin via DotNetMonster.com" <u10324@uwe> wrote in message
news:5595d79be947c@xxxxxx
> Hi,
> I really need som help here.
> I have read a lot of thread about Frames ans response.redirect and I know
> by
> now that I cannot use response redirect and I have to use "some kind of
> javascript on the client side" according to a lot of answers. The only
> answers that have some code did not seem to work with my code?
>
> I have a login page (with no frame) and when the program accepts the login
> the page is redirected to a page with 3 frames. On the header frame there
> is
> a logout button. In the codebehind I am suppose to abandon the session and
> to
> redirect to the Login page (the one with no frames). Here is the code
> behind
> the logout button:
>
>
> FormsAuthentication.SignOut()
> Session.Abandon()
> <Here I am suppose to redirect to the login page>
>
> How Can I solve this problem?
> Can anybody help me?
>
> Thanks
> PKin
>
>
> --
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200510/1
.
- References:
- Frames and response.redirect
- From: PKin via DotNetMonster.com
- Frames and response.redirect
- Prev by Date: Setting up Web Server for ASP.NET Web Service Project
- Next by Date: Re: ASP textbox not returning client-side changed value
- Previous by thread: Frames and response.redirect
- Next by thread: Re: Frames and response.redirect
- Index(es):
Relevant Pages
|