-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Horne wrote:
| Hi all
|
| I've started upgrading some of my code to use the cgiapp plugin modules
| rather than the the underlying modules directly - I like the lazy loading of
| the plugins - great stuff. So far, I'm using CGI::Application::Plugin::DBH,
| CGI::Application::Plugin::ConfigAuto and
| CGI::Application::Plugin::ValidateRM. Next on the list was to replace
| CGI::Session with CGI::Application::Plugin::Session
|
| Now, following the documentation didn't seem to work for me. One thing to
| note is that I usually develop on Windows, so the default config (files
| written to /tmp) needed to be replaced with an explicit config. That's fine
| - it's the price I pay for prefering Windows as my development environment.
|
| However, even with the config set, the session was not working. The
| documentation states the config should be
|
|     $self->session_config(
|         CGI_SESSION_OPTIONS =>
|             [ "driver:File", $self->query, { Directory => 'c:/temp' } ],
|         COOKIE_PARAMS => { -expires => '+1h', },
|         SEND_COOKIE   => 1,
|     );

Dan,

is it possible that you 'use' CGI::Application::Session twice, i.e. in your main
module and in another one that is loaded from this main module?

I do vaguely remember that I had a problem similar to this which was caused by
double inclusion of C::A::S - I thought this was necessary as I wanted to use
C::A::S methods in my subordinated module.

Unfortunately have no explanation for this behaviour, but if you find this to be
~ the reason for your problem too it could be mentionened in the docs.

Kind regards

Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBcuNBxxUzQSse11ARAgilAKCH8Qndlxvp1f0q6nU2xxq0zvMZiACfeSBr
TQGYioiuczfkHqGgK4bzhCQ=
=MWkk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to