Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Thread-Stop method

Updated on August 10, 2022

This method is deprecated for new development.

Use this method to delete the pages of the current requestor, and optionally log off the requestor.

To log off browser-based users, a preferred approach is to call the standard activity Code-Security.LogOff, with parameter pzAuth set to guest. Your application does not need to use the Thread-Stop method directly.

Parameters

The Thread-Stop method has one parameter:

ParameterDescription
SignoffRequestor If set to Y, then when this method executes, the system logs the requestor off after stopping this thread, by stopping all other threads for the requestor and clearing the requestor information.

Default is N.

Results

All user pages for the current Thread are deleted. If SignoffRequestor is set to Y, then the requestor (and hence all other Threads) are deleted after processing of the current user interaction completes. The pxThread page is not deleted.

Checking the method status

No status is returned.

Methods and instructions by function

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us