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.

Note: The [Server_Push] tag is not supported by all Web servers. Some Web servers buffer all output from Lasso and stream it to the Web client themselves.

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 can only be used outside of Lasso container tags such as [Records] ... [/Records] or [Loop] ... [/Loop]. Lasso buffers all output from container tags until the end of the final repetition.

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], [SessioN_Start], and [Cookie_Set].

  • Syntax
  • Parameters
[Server_Push]
Examples

To show search results progressively:

Use the [Server_Push] tag before the [Inline] tag to show the header of the page before the search is performed.

<h2>Header<h2>
[Server_Push]
[Inline: -FindAll, 
    -Database='Contacts', 
    -Table='People', 
    -MaxRecords='All']
  [Records]
    <br>[Field: 'First_Name'] [Field: 'Last_Name']
  [/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 LCAPI Sets Lasso 7.0, Lasso 6.0, 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