Hi,

This is the error I get.


<font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: 'Session(...).RequestMap'</font>
<p>
<font face="Arial" size=2>/yeomanlocal/GisDispatcher.asp</font><font face="Arial" size=2>, line 8</font>


This is the code I am trying to call.

<SCRIPT LANGUAGE="VBScript" RUNAT="Server">

Const SESN_GIS = "GIS_SESSION"


Function GISDispatcher_RequestMap(ByVal TheId,ByVal topleftX,ByVal topleftY,ByVal brightx,ByVal brighty,ByVal msh,ByVal msw)

' Line 8 is the following code'

'On Error Resume Next

GISDispatcher_RequestMap=Session(SESN_GIS).RequestMap(TheId,topleftX,topleftY,brightx,brighty,msh,ms w)
End Function


Function GISDispatcher_RequestVectorMap(ByVal TheId,ByVal topleftX,ByVal topleftY,ByVal brightx,ByVal brighty)
'On Error Resume Next
GISDispatcher_RequestVectorMap=Session(SESN_GIS).RequestVectorMap(TheId,topleftX,topleftY,brightx,br ighty)
End Function


</SCRIPT>


Please can you tell me if you know what is wrong with this.