Lasso Soft Inc. > Home

[Server_Push]

[Server_Push] instructs Lasso to send as much of the current format file to the client as possible. This results in the page being loaded in stages within the visitor's Web browser.

The [Server_Push] tag should only be used outside of HTML tables and frames. Some Web browsers have difficulty rendering a Web page if all tables and frames are not closed.

The [Server_Push] tag should be used lower on a page than other tags which manipulate the header of a page such as [Header] ... [/Header], [Content_Type], [Redirect_URL], and [Cookie_Set].

  • Syntax
  • Parameters
[Server_Push]
Examples

To show search results progressively:

Use the [Server_Push] tag within the [Records] ... [/Records] tags that format the search. The following code performs a -FindAll action and then displays the records from the People table of the Contacts database progressively.

[Inline: -FindAll, 
    -Database='Contacts', 
    -Table='People', 
    -MaxRecords='All']
  [Records]
    <br>[Field: 'First_Name'] [Field: 'Last_Name']
    [Server_Push]
  [/Records]
[/Inline]
Result:
<br>John Doe
<br>Jane Doe
<br>John Surname
<br>Jack Lastname
<br>Mary Peoples
Tag Link [Server_Push] Category Output
Type Process Data Source Any
Support Preferred Version 3.0
Output Type None Security None
Implementation Sets Lasso 5.0,LDML3x

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft