danhere
danhere

Reputation: 680

Rails creating a new session every page view

I'm following the Agile RoR book somewhat to apply it to a project for school. It's going good until I get to sessions. I continually get Authenticity Invalid Tokens and when I look at my sessions table in the database, there's a new session being created every time I refresh the page. Is that right or is something messed up?

Thanks.

edit - I cleared my cookies (one from this app and another) and everything seems to be working okay now.

Upvotes: 0

Views: 655

Answers (1)

jdl
jdl

Reputation: 17790

Are you blocking cookies to localhost?

Upvotes: 1

Related Questions