<br><br><div class="gmail_quote">On Tue, Apr 5, 2011 at 7:16 AM, Edmund von der Burg <span dir="ltr">&lt;<a href="mailto:evdb@ecclestoad.co.uk">evdb@ecclestoad.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I want my sessions either to be long-lived (several months) or, at the<br>
user&#39;s discretion, only last for the current browser session.<br>
Achieving either of these is quite easy, but doing both in one app<br>
appears a little trickier.<br></blockquote><div><br></div><div>I have used a separate remember me cookie that effectively will auto-login the user.  That&#39;s very simple to implement.  It doesn&#39;t save any session state that way, but avoiding the login is often what users are after rather than remembering the exact state of the session.  Not sure how useful that would be for someone returning days later.</div>

<div><br></div><div> </div></div><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>