RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSessionsService.SaveToFile Method

Saves the list of sessions to a file.

Pascal
procedure SaveToFile(const Filename: string);
C++
__fastcall SaveToFile(const AnsiString Filename);

Call SaveToFile to save the current list of sessions to a file. SaveToFile saves all of the sessions, including their session IDs, name/value lists, time-out period, and status information about when they were last accessed. 

The file can be read back into a sessions service by calling the LoadFromFile method. 

Filename is the name of the file to which the list of sessions is saved. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!