$Log$
+Revision 323.58 2002/08/16 03:51:12 ajc
+* I think I've finally nailed the 'no session' pages now...
+
Revision 323.57 2002/08/15 03:49:47 ajc
* Fleshed out the list subscription page a bit
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
/* Remove sessions flagged for kill */
if (sptr->killthis) {
+ lprintf(3, "Destroying session\n");
+
/* remove session from linked list */
if (sptr == SessionList) {
SessionList = SessionList->next;
strcpy(WC->wc_password, "");
strcpy(WC->wc_roomname, "");
- output_headers(2); /* note "2" causes cookies to be unset */
+ wprintf("<HTML><HEAD><TITLE>List subscription</TITLE></HEAD><BODY>\n");
strcpy(cmd, bstr("cmd"));
strcpy(room, bstr("room"));
);
}
else {
- wprintf("<FONT SIZE=+1>ERROR: </FONT>%s<BR><BR>\n",
+ wprintf("<FONT SIZE=+1><B>ERROR: %s</B>"
+ "</FONT><BR><BR>\n",
&buf[4]);
goto FORM;
}
* Since this isn't part of a normal Citadel session, we bail right
* out without maintaining any state.
*/
- wDumpContent(2);
+ /* wDumpContent(2); */
+ wprintf("</BODY></HTML>\n");
end_webcit_session();
}