Documentation / Tutorials / Quick Samples

Generate Ticket and Fire Ajax

/ Quick Samples / Generate Ticket and Fire Ajax

  • Use ticket while executing AJAX, which provides much of security rather than calling module directly through name.
  • Following are then syntaxs and examples:
  • To generate session ticket :
    Syntax:

    Eg:

     
  • Set activity for session ticket
    Syntax:

    Eg:

     
  • If you need to send any extra parameter in request, in that case also use ticket rather than script attribute
    Syntax:

    Eg:

     
  • At last write spa script tag with other details of script call.
    Syantax:

     

    Eg:


     
Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *