On Jan 18, 10:31 pm, Robert Walker <[email protected]> wrote:
> James Byrne wrote in post #975862:
>
> > How does AR Session Store handle the case where there is no session?
>
> > In other words, some of the web pages that are produced by our
> > application are meant to be publicly viewed without logging in.  This
> > seems to be the problem.  It on the welcome page that the show action is
> > causing the DBMS to throw a null entry error.
>
> Sessions are independent of authentication. Authentication frameworks
> obviously use the session to keep track of the currently authenticated
> user, but that should be the extent of their interaction, AFAIK.

even that doesn't have to be true - I seem to recall that authlogic
sets it's own cookie with the user credentials it needs

Fred

> Sessions are created where there is user login or not. Calling
> session[:some_key] will create a session if one does not already exist.
>
> I don't use AuthLogic myself, so if it is having issues with the session
> store then I can't really help you.
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to