zura Posted February 16, 2006 Share Posted February 16, 2006 i've used response.redirect once in one file.. but then i've created another similar file, & the response.redirect doesnt work.. can pls somebody tell me why such problem occurs? the codes exactly the same, but one works, & the other one doesnt. thanks in advance.. Link to comment Share on other sites More sharing options...
Pollux Posted February 16, 2006 Share Posted February 16, 2006 Are you setting buffer to true at the very top of the document (above the html tag)? Response.Buffer = True You'll also probably need to call end on the Response object, after the redirect, so the response is actually downloaded to the client. Response.End If you're already doing both of those, what is the error you're receiving? Or is the redirection simply not occuring? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now