
Need a way to get a cookie
Reported by Kyle Cross | December 2nd, 2008 @ 11:37 AM
I need a way to get a cookie
ie: get_cookie
Comments and changes to this ticket
-
Bryan Helmkamp December 2nd, 2008 @ 03:00 PM
Kyle -- What are you trying to do? Are you using Rails or Merb?
-
gaffo January 6th, 2009 @ 02:35 AM
- State changed from new to wontfix
Kyle, We've thought about this on the team and have discussed it in IRC quite a bit. The consensus seems to be that a user doesn't really care if they have a certain cookie set, but they do care about what that cookie causes to happen for them. For example, setting a login cookie would have a section saying "Welcome, Username" instead of saying "Please Register/Login".
So I'm going to mark this as wontfix unless we come up with some other compelling reasons.
-
thelucster (at gmail) February 13th, 2009 @ 03:40 PM
I'm having some issues, and I think I need this too.
The behaviour I want to test is that when a user logs in, and they visit the site again later (i.e. when the session has expired) they are automatically logged in.
On my application when you login you are remembered for that period via the session, and permanently by using cookies. This is automatic. When a user logs out their session is destroyed, as well as the cookie.
As I can't destroy the session how can I test this, other than by testing whether the cookie exists?
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.