Re: keep user logged in after restart browser

[email protected]
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Have you look at Cookbook ?

There is a session manager with DB storge capabilities.
http://quixote.ca/qx/StoringSessionsInDatabase

mixing that with cookies will solve your problem (I think).



But I must say that I've never got such problem (lighttpd-1.4.7 +
quixote-2.1). Browsers will save sessionID in a cookie. Then the browser
can stop and start (if the server stays up).
Have you check that your browser will save/manage cookies correctly ?

Problems I've has was concerning multiple threads of the server that are
not sharing their sessionIDs.





Tom Lesters wrote:
> Hi,
>
> Thanks for William for answering my previous question regarding scgi and
> lighttpd.
> But is it a bug or it suppose to act lik that?
>
> Is there a good way to keep user logged in even after restart browser?
> For example, when we sign in google account(not gmail) with "remember me
> on
> this computer" checked,
> even we restart browser, we'll still logged in for google account.
>
> I understand that I need to set and get my own cookies.
> What is a good way to do it in Quixote 2.4?  write a subclass of Session
> and
> SessionMananger with added handling of my own cookie(not session coockie)?
> or modify Publisher class in someway? Or there is already a package can
> help
> me to accomplish it.
>
> thanks a lot,
> Tom
> _______________________________________________
> Quixote-users mailing list
> [email protected]
> http://mail.mems-exchange.org/mailman/listinfo/quixote-users
>


-- 
William: http://www.opensource4you.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.