Code Monkey home page Code Monkey logo

mojox-session's People

Contributors

alex-hutton avatar danielmt avatar duncanthrax avatar hsw avatar jeen avatar und3f avatar xantus avatar yko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mojox-session's Issues

Mojolicious::Plugin::Session - bug

Both of the dispatches need to have a return; in them to make it work on latest Mojolicious v8.3, one thing i noticed is flush doesn't remove stale entries from the table so a manual cleanup needs to be done as a routine. I am thinking browsers no longer pass a expired cookie that contains the sid and so the flush cannot clean up.

Can't locate object method "new" via package "MojoX::Session::Store::Couchdb"

When I use MojoX::Session with couchdb I get following error:

Processing request failed: Can't locate object method "new" via package
"MojoX::Session::Store::Couchdb" at /MojoX/Session.pm line 79

And indeed MojoX::Session::Store::Couchdb doesn't have a new() method so why is the _load_and_build subroutine in MojoX/Session.pm trying to call the new() on the MojoX::Session::Store::Couchdb?
Should there be a MojoX::Session::Store::Couchdb->new() method ?

Mojolicious::Plugin::Session get dbh from key_dbh_stash

Было бы очень здорово, чтобы можно было бы указать для Mojolicious::Plugin::Session что если используется Store::Dbi то dbh брать из указанного key_dbh_stash что-то типа

    app->plugins->add_hook(
        before_dispatch => sub {
        my ($self, $c) = @_;
        $session->tx($c->tx);
        $session->store->dbh($c->stash($key_dbh_stash));
        $c->stash($stash_key => $session);
    }
);

К сожалению, я не придумал как бы это сделать наиболее красиво и универсально.

Невозможно управлять зависимостями

Mojolicious::Plugin::Session не имеет версию. И невозможно без бубна собрать окружение для проекта под Mojolicious v4.50, т.к. актуальная версия просит 5.78, а cpanm Mojolicious::Plugin::[email protected] вызывает печаль.

Хз, реально ли исправить прошлые релизы.

Event "read" failed for connection "IO::Socket::INET=GLOB(0xb61738)"

I know that you won't improve it or extend. But can't get the couchdb store to work I always get:

Event "read" failed for connection "IO::Socket::INET=GLOB(0xb61738)": Wrong response at /opt/local/lib/perl5/site_perl/5.8.9/Mojo/Client.pm line 630

and in my couchdb log I see the put request that creates the session document return a 500 error but I don't know why.

'PUT'   /session/ff310c54325a3c54e4fac1a8379682fba9114ba8   500

Could you help? and if not, do you know how I could use couchdb with the embedded Mojolicious sessions instead?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.