Further Market
  • Essentials

    • Foreword
    • What is FM Script ?
    • The philosophy and benefits of FmScript
    • What you will learn
  • Recall

    • Internet: who? what? What is that?
    • Further market and FMScript
    • The compiler
  • Download
  • Getting started

    • Installation
    • Create a business account
    • Connect to the PC application
    • Create your first applet
    • Create your first web applet
    • Compiler view
  • Basics

    • basic rules
    • Reserved keywords
    • The Syntax
    • Coding Style
    • comments
    • Variables, constants, and data types
    • Convertion of types
    • Conditions and loops
  • Functions

    • Create a Menu
    • Create input field (Input2)
    • Create a QR Code
    • Scan a QR Code
    • Strings functions
    • Array functions
    • Date Time functions
    • Mathematics functions
    • JSON functions
    • XML functions
    • Call Http request
    • Manipulate Sessions
    • Financial functions
    • Notifications
    • Bleutooth Printer
  • Demos

    • Advanced Inputs
    • Call http Request
    • loops and conditions
    • Menu inputs
    • Array items count
    • Simpe for
    • simple select count Sql Query
    • Date and Time picker form
    • Get credit balance
    • is valid city
    • user info from phone number
    • get country and city from form
    • simple ussd link switch
    • charge user credit
    • simple message box
    • user entry code
    • get users relations
    • my external payements collected
    • call google Map
    • in App direct publish
    • Geo location
    • Charts
    • menu with hints
    • call system Messenger
    • user start code
    • In call Gallery
    • credit card payment Request
    • MTN CMR Airtime Product Subscription
    • MenuItemAddContacts
    • AJax and FM Input
    • Input2
    • MenuItemAddRichMedias
    • MenuItemAddTagsItems2
    • BlinBlin Menu + javascript
    • GENERAL ALERT MESSAGE WITH JSON OPTIONS
    • Barcode
  • databases

    • CRM
    • External Payments
    • Bills
    • Sales
    • Games
    • Applets
    • Payments Gateway
    • Manipulate Select Queries
  • APIs

    • Further Markey Pay button integration
    • Mobile Money cash collector
    • Bill Api
    • API PUBLISH PRODUCT
    • Sale Api
    • SMS Api
  • Advanced

    • Actions scheduler
    • Events settings
  • USSD CAMEROON

Sessions functions

  • SessionAppVariableAdd
  • SessionAppVariableGetValue
  • SessionAppVariableUpdateValue
  • SessionVariableAdd
  • SessionVariableGetValue
  • SessionVariableUpdateValue

SessionAppVariableAdd

creates a session variable accessible only by the applet that initiated it

Signature
                
SessionAppVariableAdd(Name, Value : String);
                
            
Demo
                
VAR Result : String;
VAR JSON   : String;
VAR Count  : Integer;

JSON := '[{"Greeting":"Hello 1 ","Name":"User 1"},{"Greeting":"Hello 2 ","Name":"User 2"}]';

Result := SessionAppVariableAdd('Name', JSON);

//ShowMessage(JSONValue(JSON, 'Greeting'));  SessionAppVariableGetValue(Name : String);
Exit;
                
            


SessionAppVariableGetValue

Get a session variable created by the applet.

Signature
                
SessionAppVariableGetValue(Name : String);
                
            
Demo
                
VAR Result : String;
VAR JSON   : String;
VAR Count  : Integer;


Result := SessionAppVariableGetValue('Name');

Exit;
                
            


SessionAppVariableUpdateValue

Update or create(if not exist) a session variable accessible only by the application that initiated it

Signature
                
SessionAppVariableUpdateValue(Name, Value : String);
                
            


SessionVariableAdd

creates a session variable accessible by any applet created inside the initiated business account

Signature
                
SessionVariableAdd(Name, Value : String);
                
            
Demo
                
VAR Result : String;
VAR JSON   : String;
VAR Count  : Integer;

JSON := '[{"Greeting":"Hello 1 ","Name":"User 1"},{"Greeting":"Hello 2 ","Name":"User 2"}]';

Result := SessionVariableAdd('Name', JSON);

//ShowMessage(JSONValue(JSON, 'Greeting'));  SessionAppVariableGetValue(Name : String);
Exit;
                
            


SessionVariableGetValue

Get a session variable created inside business account

Signature
                
SessionVariableGetValue(Name : String);
                
            
Demo
                
VAR Result : String;
VAR JSON   : String;
VAR Count  : Integer;


Result := SessionVariableGetValue('Name');

Exit;
                
            


SessionVariableUpdateValue

Update or create(if not exist) a session variable accessible by any applet created inside the initiated business account

Signature
                
SessionVariableUpdateValue(Name, Value : String);
                
            
call http request
Financial functions


Our Partners

Support
      Telephone : (+237) 675979899 / 676009100
      Email : fm_support@f-m.fm
      P.O Box : 774 BAFOUSSAM
Available On

no
no

Further Market Inc
Copyright © 2012-2021.