View Full Version : Session redirect...
02-03-2003, 08:23 PM
How would I redirect to an URL that is in a Session variable? (Should b easy)
02-03-2003, 08:43 PM
02-03-2003, 08:51 PM
hmm, strange, i tried that 1st & it gave me some error so I probably set up the Session wrong. Thanx, neway:thumbsup:
02-04-2003, 06:51 AM
you cannot redirect if some of the response is already written to the browser, use Response.buffer = true, this way all the response is buffered until its complete or the response.flush method is used. That way you can redirect in every place of your asp. Otherwise you have to do the redirect before the first html is sent to the browser
02-04-2003, 07:41 PM
Ah! Thanx! That works now!:thumbsup:
02-04-2003, 09:45 PM
This is another nice thing about using subs to display HTML like I do - you never have to worry about that! :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.