FAQ
Hi All,

I am trying out the authentication examples provided in the manual page. I am facing issue in storing the session. When I submit the login request, it was able to authenticate the user but its giving exception when storing session. I here by attaching the debug message. Can somebody help me out.

Thanks for your time ...
- Nagarajan

I am running the server on the **Win32** machine

Here is the console log:
===================

[debug] "POST" request for "login/" from "127.0.0.1"
[debug] Path is "login/"
[debug] Created session "5cd88e6a19261b7e06329dfffd35ad78c44fb616"
[debug] Successfully authenticated user 'test01'.
[error] Caught exception in engine "Can't locate object method "store_session_da
ta" via package "MyApp" at C:/Perl/site/lib/Catalyst\Plugin\Session.pm line 131.
"

MyApp.pm loaded plugins
===================

use Catalyst qw/-Debug
ConfigLoader
Static::Simple

Authentication
Authentication::Store::DBIC
Authentication::Credential::Password

Session
Session::Store
Session::State
Cache::FileCache
Session::State::Cookie
/;

I am using **Cache::FileCache** since **Session::Store::FastMmap** is not supported in Win32.

Thanks for your time.


---------------------------------
Here?s a new way to find what you're looking for - Yahoo! Answers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060810/8b1a4764/attachment.htm

Search Discussions

  • Nilson Santos Figueiredo Junior at Aug 10, 2006 at 2:38 am

    On 8/9/06, Nagarajan M wrote:
    I am using **Cache::FileCache** since
    **Session::Store::FastMmap** is not supported in Win32.
    Use C::P::Session::Store::File and your problems should be solved.

    -Nilson Santos F. Jr.
  • Daniel Westermann-Clark at Aug 10, 2006 at 2:47 am

    On 2006-08-10 03:30:51 +0100, Nagarajan M wrote:
    [error] Caught exception in engine "Can't locate object method "store_session_da
    ta" via package "MyApp" at C:/Perl/site/lib/Catalyst\Plugin\Session.pm line 131."

    MyApp.pm loaded plugins
    ===================

    use Catalyst qw/
    -Debug
    ConfigLoader
    Static::Simple
    Authentication
    Authentication::Store::DBIC
    Authentication::Credential::Password
    Session
    Session::Store
    Session::State
    Cache::FileCache
    Session::State::Cookie
    /;
    You didn't load a Session::Store implementation.

    The manual suggests Cache::FileCache, but this plugin is not a
    Session::Store implementation. Instead, you'll need to install
    Catalyst::Plugin::Session::Store::File, and change "Session::Store" to
    e.g. "Session::Store::File" in your plugin list.

    --
    Daniel Westermann-Clark
  • Nagarajan M at Aug 10, 2006 at 3:28 am
    Thanks Daniel,
    It works!


    Daniel Westermann-Clark wrote:
    On 2006-08-10 03:30:51 +0100, Nagarajan M wrote:
    [error] Caught exception in engine "Can't locate object method "store_session_da
    ta" via package "MyApp" at C:/Perl/site/lib/Catalyst\Plugin\Session.pm line 131."

    MyApp.pm loaded plugins
    ===================

    use Catalyst qw/
    -Debug
    ConfigLoader
    Static::Simple
    Authentication
    Authentication::Store::DBIC
    Authentication::Credential::Password
    Session
    Session::Store
    Session::State
    Cache::FileCache
    Session::State::Cookie
    /;
    You didn't load a Session::Store implementation.

    The manual suggests Cache::FileCache, but this plugin is not a
    Session::Store implementation. Instead, you'll need to install
    Catalyst::Plugin::Session::Store::File, and change "Session::Store" to
    e.g. "Session::Store::File" in your plugin list.

    --
    Daniel Westermann-Clark

    _______________________________________________
    List: Catalyst at lists.rawmode.org
    Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst at lists.rawmode.org/
    Dev site: http://dev.catalyst.perl.org/



    ---------------------------------
    Here?s a new way to find what you're looking for - Yahoo! Answers
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060810/56e7c58e/attachment.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedAug 10, '06 at 2:30a
activeAug 10, '06 at 3:28a
posts4
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase