Thread Catalyst::Plugin::Session::Store::File: rechteprobleme mit og. plugin (9 answers)
Opened by Gast at 2007-04-19 14:02

GwenDragon
 2007-04-19 15:04
#30373 #30373
User since
2005-01-17
14663 Artikel
Admin1
[Homepage]
user image
Du kannst do das Verzeichnis setzen:
Code: (dl )
1
2
3
 MyApp->config->{session} = {
storage => '/tmp/session'
};

Weiterhin kannst du bestimmte Parameter setzen:
Quote
Specifies the directory root to be used for the sharing of session data. The default value will use File::Spec to find the default tempdir, and use a file named MyApp/session/data, where MyApp is replaced with the appname.

Note that the file will be created with mode 0640, which means that it will only be writeable by processes running with the same uid as the process that creates the file. If this may be a problem, for example if you may try to debug the program as one user and run it as another, specify a directory like /tmp/session-$>, which includes the UID of the process in the filename.

directory_umask

The directories in the session on the filesystem should be globally writable to allow for multiple users. While this is a potential security concern, the actual cache entries are written with the user's umask, thus reducing the risk of cache poisoning. If you desire it to only be user writable, set the 'directory_umask' option to '077' or similar. Defaults to '000' unless explicitly set.
SEE ALSO

View full thread Catalyst::Plugin::Session::Store::File: rechteprobleme mit og. plugin