Giter Club home page Giter Club logo

express-flash's People

Stargazers

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

Watchers

 avatar  avatar

express-flash's Issues

second request arrived before session saved

with redirect back, the redirected request arrived before session saved
I use express file store session.
i see the speed of saving file slower than speed of local network requesting.
first quest is POST and second request is GET
the bug will make GET missing flash message

License in package.json

I'm using pkg to build my project, and I need that all the package.json files of my dependencies have a licensing attribute. Please, can you add a license entry in your project?
Thank you

Option to change the local identifier

Is there an option to customize what the identifier is for the local; instead of messages. Also, why wouldn't something like flash be the default? That would seem to make more sense.

Doesn't work with ECT.js ?

Hi,
Are messages working with ECT templating (http://ectjs.com/)?
I have in my app :

exports.getContact = function(req, res) {
      res.render('contact', {
        title: 'Contact',
        messages: res.locals.messages
      });
   }; 

and further in template:

<%- @messages %>  or <%- @messages.msg %> 

But I see only [object Object] ..... How can do I access to messages?

Thanks for any advise

Doesn't work with redis?

When using redis sessions (connect-redis), I get the error "req.flash() requires sessions".

Any recommendations?

{{{flash}}} layout usage in ejs template

how can i add the body flash in ejs

<

<title></title> {{{flash}}}

in my case layout like below

<script type="jscript" src='/javascripts/jquery.min.js'></script> <% include partials/head.ejs %> <% include partials/header.ejs %>
<%- body %>
<% include partials/footer.ejs %>

please help me

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.