I think I've confused myself here. I have read that asp.net creates cookies as temporary cookies if you don't set the expiry time. How then, can you have a tempoary cookie that expires after an hour. I know this is possible but it would seem to me that by setting the expiry time for an hour you are making the cookie permanent not temporary?
also, how do browsers distringuish between temp and perm cookies? How do they know when to keep the cookie on closure or to delete it. There must be some sort of flag within the cookie