|
<%@LANGUAGE="JavaScript"%>
<html>
<head>
<!-- #INCLUDE FILE="INC/chatprocessing.asp" -->
<%
var sessionID = Request.Form("SessionID");
var roomID = Request.Form("RoomID");
if(sessionID.Count == 0 || sessionID < 0 || roomID.Count == 0) {
// Incorrect user action.
Response.Redirect("expired.htm");
}
var userName = getUserNick(0, sessionID);
if(typeof(userName) == "undefined") {
// Possibly refresh.
//Response.Redirect("expired.htm");
}
else {
// Possible session already exist
var realSessionID = enterToTheRoom(roomID, sessionID);
sessionID = realSessionID;
}
if(typeof(sessionID) == "undefined" || sessionID == "" || sessionID < 0) {
Response.Redirect("expired.htm");
}
%>
<title>Welcome <%=userName%> in the chat room</title>
</head>
<frameset rows="80,*,100" cols="*" frameborder="no">
<frame src="toolbar.asp?SessionID=<%=sessionID%>&RoomID=<%=roomID%>" scrolling="no" frameborder="no">
<frameset rows="*" cols="*,200" frameborder="no">
<frame src="messages.asp?RoomID=<%=roomID%>" frameborder="no" scrolling="yes">
<frame src="visitors.asp?SessionID=<%=sessionID%>&RoomID=<%=roomID%>" frameborder="no" scrolling="yes">
</frameset>
<frame src="newmessage.asp?SessionID=<%=sessionID%>&RoomID=<%=roomID%>" scrolling="no" frameborder="no">
</frameset>
<noframes>
</noframes>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here