Hi list!, <br>Please consider this situation: <br>A user
enters the site (a WASession is created) then the user logs in (a User
model object holding some information is stored in the session, in an
instance variable), does some work, and:
<br>&nbsp;&nbsp; &nbsp;1-leaves the page, 
i.e. he goes to another web site<br>&nbsp;&nbsp; &nbsp;2-close the tab holding the page<br>&nbsp;&nbsp; &nbsp;3-close the browser<br>&nbsp;&nbsp; &nbsp;4-logs out and then leave.<br><br>Whenever
the user re-enters the site, another WASession is created (AFAIK) which
hasn&#39;t got the user information (the user instance variable is nil).
This is ok in the case 4, because no user is logged in. But in the
cases 1-3,&nbsp; when the user comes back, the system should recognize him
and his information should be available in the current session because,
actually, he is still logged in.
<br><br>If the original session hasn&#39;t expired, it could be reassigned
so the user information is available. Another solution would be working
with another session but setting its user variable to the one the
original session had.
<br><br>so.. the question would be..<br>What is the best way to achieve this, cookies maybe?<br>If so, should I consider session-only-cookies vs permanent cookies? (because of the difference between cases 1,2 and case 3)
<br><br>Thanks a lot, <br><span>Leandro<br>
</span>