CONNECT parameter

Re-establishes a connection to the Page Server. The CONNECT parameter must be appended to the INIT parameter.

init=<viewer>:connect

By re-establishing a connection to the Page Server, the CONNECT parameter allows the user to reset the report's parameters and logon information, and re-process the report if necessary—without having to begin a new browser session.

For example, if you have used init=html_frame to display a report, and then you specify init=java to view the same report in the same browser session, you will not be prompted for parameter values or database logons, and a new report job will not be opened. However, if you specify init=java:connect instead of init=java, the connection to the Page Server will be re-established, which means that if necessary, the user will be prompted for parameter values and logon information, and the report will be run again.

Example

http://myServer/myVirtualDirectory/viewrpt.cwr?id=152&apstoken=A1B2&init=java:connect

Note:    Re-establishing a connection to the Page Server is not the same as refreshing a report against a database. While the connection to the Page Server enables the user to reset parameter values and view a different set of information, if the report contains saved data, it will not need to access the database for this information. For more details on refreshing a report, see Refreshing web report data.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com