Results 1 to 2 of 2

Thread: passing values to a vbscript (asp) function

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    London, UK
    Posts
    39

    Thumbs down

    How do I pass values to the following variables.


    <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)
    '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>


    the variables in this function are topleftx, toplefty, brightx, brighty, msh,msw.



    Also how do I return values back from an asp function and send back to the calling asp routine.



  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    is your data coming from a query string, form data, or session/application variable?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width