Dan,

This is the standard way merb handles what rails calls "flash
messages". I also don't like this behavior very much (it's not exactly
the same like rails flash in that this URL is bookmarkable and will
always yield the encoded message, whereas with rails it happens only
one time).

If you want behavior like rails offers, I'd suggest taking a look at

http://github.com/teamon/merb-flash/tree/master

I use it happily

cheers
snusnu

On Fri, May 8, 2009 at 23:00, Dan Sosedov <[email protected]> wrote:
>
> Hey guys, i have really small question for authentication in merb
>
> I created my own strategy, assigned sessions to datamapper and it
> works very well, no problems with that. But on another side im getting
> weird parameter in url all time after loggin in.
>
> For example:
> 1. /login => success
> 2. /home?_message=....some..data...
>
> The question is: what this variable for and how to get rid of it? I
> find out that this message contains encoded session data, but cant
> figure out why it goes there
>
> Any suggestions?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to