Jump to content

Search the Community

Showing results for tags 'global'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Good afternoon! I developed an entire system in standalone mode (exe), and configuring it to work on IIS works perfectly, however, I changed it here to generate DLL, which instead of IIS creating a connection for each EXE, it will use the sessions of IIS itself. , but now, the variables were shared between users. I created a DataModule only to store specific variables and functions, but I encountered this problem when using DLL (CGI) in IIS. What would be the recommendation for this not to happen?
  2. I use several google map markers on initial map presentation and all paint correctly. After initializing with the default markers, the user can then request a marker's position to be updated. Therefore before any marker updates can take place I want to verify if there are previous markers already on the map, if so then I need to remove the old marker in order to paint the markers new position. In my code below the alert(''new''); always fires telling me that markers is not global - how can I accomplish this - thanks in advance. // Set Global Variable procedure TGPSmForm.UnimFormCreate(Sender: TObject); begin UniSession.AddJS('var markers = [];'); end; ... UniSession.AddJS( 'if (markers == null) '+ '{ '+ ' var markers = []; '+ ' alert(''new''); '+ '} '+ 'var gm = googleMap; '+ 'if (typeof gm == "object") '+ '{ '+ ' for (var i = 0; i < markers.length; i++) '+ ' { '+ ' markers.setMap(null); '+ ' alert(''for loop''); '+ ' } '+ ... ' markers.push(manmarker); '+
×
×
  • Create New...