home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 March
/
CHIPCD_3_98.iso
/
software
/
testsoft
/
exchange
/
webdata
/
usa
/
inbox
/
messages.asp
< prev
next >
Wrap
Text File
|
1997-08-25
|
2KB
|
77 lines
<!--#include file="../constant.inc"-->
<!--#include file="../lib/session.inc"-->
<% SendHeader 1, 1 %>
<!--#include file="../lib/getrend.inc"-->
<!--#include file="../lib/pageutil.inc"-->
<%
'<!--Microsoft Outlook Web Access-->
'<!--messages.asp : Frame that lists messages for current folder in chunks-->
'<!--Copyright (c) Microsoft Corporation 1993-1997. All rights reserved.-->
On Error Resume Next
urlStore = Request.QueryString("store")
urlObj = Request.QueryString("obj")
if urlStore="" then iStore = 1 else iStore = cint(urlStore)
If Not CheckSession3("1","newwindow",urlStore) Then
fTimedOut = true
Else
fTimedOut = false
If urlObj <> "" then
Set objRenderer = GetMessagesRenderer(fNew)
CheckPage objRenderer
If Err.Number <> 0 Then
ReportError1 L_errPage_ErrorMessage + " " + err.Number
Else
cMessages = Session(CURRENT_COUNT)
iPage = Session(CURRENT_PAGE)
End If
End If
End If 'fTimedOut
%>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
</HEAD>
<SCRIPT LANGUAGE="Javascript">
<% If fTimedOut Then %>
function refreshMe() {
parent.command_fr.location="<%=bstrVirtRoot%>/inbox/commands.asp?command=newfolder&obj="+parent.szCurFolderID+"&store="+parent.iCurStore;
}
</Script>
<body>
<form>
Session timed out. Press <input type=button value="Refresh" onClick="refreshMe()"> after logging back on.
</form>
</body>
</html>
<% Else %>
</SCRIPT>
<BODY TEXT=000000 BGCOLOR=FFFFFF LINK=000000 ALINK=000000 VLINK=000000 TOPMARGIN=0 LEFTMARGIN=3 onLoad="parent.updateStatus('<%=cMessages%>')" onUnload="clearTimeout(parent.mailboxTimerID)">
<FORM name="deleteform" ACTION="commands.asp?action=deletemarkedmessages" METHOD="POST" target="command_fr">
<%
If urlObj <> "" then
objRenderer.Render AMHTML_FolderContents, iPage, 0, Response
errNo = Err.Number
If errNo <> 0 Then
If errNo=70 Then 'no permissions
Response.Write L_errNoViewFolderPermissions_ErrorMessage
Else
Response.Write L_errRenderView_ErrorMessage
End If
End If
End If
%>
<INPUT TYPE=HIDDEN NAME=INVISIBLE VALUE=0>
</FORM>
</BODY>
</HTML>
<% End If 'fTimedOut%>