i have a wierd problem. i have a banner counter page that takes parameter from the query string, searches a database for the appropriate url to redirect to, then redirects the page. for some reason it doesn't work the first time..i always get a "page can't be displayed" message. but when i refresh the error page, it redirects fine and every time after that it works until i restart my computer, then the same problem. here's my code..(btw i'm using Javascript)
Response.Buffer=true;
Response.Expires=0;
... database call to get url ...
Response.Clear;
Response.Redirect (sURL) ;
Response.End;
Response.Buffer=true;
Response.Expires=0;
... database call to get url ...
Response.Clear;
Response.Redirect (sURL) ;
Response.End;