On Monday, June 3, 2013 7:07:22 AM UTC+1, Ruby-Forum.com User wrote:
>
> This has everything to do with new European cookie law ;-( 
>
> Is it possible to start some script (on every call), before rails 
> application is hit. Script would check for the presence of a cookie and 
> if it is there just pass control forward. If not it would popup window 
> about legal stuff and redirect to original address. 
>
>
There's a rack middleware ( https://github.com/peter-murach/rack-policy ) 
that handles some of this.

Fred
 

> I am using Rails 3.2 with Passenger and Nginx. 
>
> by 
> TheR 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0b6d96fe-c81a-4bad-87cc-0fe43b6c5ffd%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to