Is it possible to maintain a cookie (containing a unique session ID relating to server-side session details) for a browser window?
Example:
Let's say I have:
home
home/profile
home/search_products
home/browse_products
home/{product_page}
And, let's say I want to display a history of the visitor's last 10 activities. If they open two browsers (maybe browsing two different product families simultaneously), is it possible to differentiate those two browsers as different "sessions" (so their browsing history can be displayed accurately to each browser window)?
I've thought about using a path containing a parm like "/cgi-bin/script_name/unique_parm". I think the "unique parm" would be treated by the browser's cookie capabilities as part of a unique path to associate a cookie too.
But, I'm not sure how reliable that is. For example, if the user right-clicks on a link and says "open in new window" it may appear they followed the link from the existing "unique_parm" path (existing session).
I feel like I'm overcomplicating this. Before spending more brain cells on it, I thought I'd ask if there's a more straightforward way to differentiate between two browser sessions (on the same computer).
Thanks,
Mark
