G
Guest
I know that this is something of an old chestnut. Nevertheless, my problem is
as follows;
I have a page in which I write html out to the client using
Response.Write(), followed by Response.Flush(). On the same page, I have a
logout button that, when clicked, calls FormsAuthentication.SignOut() (after
which a redirect to a page in another app occurs). As you can guess, clicking
on this button raises the following exception;
"Server cannot modify cookies after HTTP headers have been sent."
Does anybody have any ideas about how I get around this?
Thanks,
Martin
as follows;
I have a page in which I write html out to the client using
Response.Write(), followed by Response.Flush(). On the same page, I have a
logout button that, when clicked, calls FormsAuthentication.SignOut() (after
which a redirect to a page in another app occurs). As you can guess, clicking
on this button raises the following exception;
"Server cannot modify cookies after HTTP headers have been sent."
Does anybody have any ideas about how I get around this?
Thanks,
Martin