Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session management in different tabs in same browser

 
Ramasubramaniam Rathinasubbu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

session is not expiring in different tabs in same browser .

How to expire the session in difference tabs in same browser.

thanks,
R. Ramasubramaniam.
 
bhanu chowdary
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramasubramaniam Rathinasubbu wrote:How to expire the session in difference tabs in same browser..

Can you please elaborate?
 
Ogeh Ikem
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramasubramaniam Rathinasubbu wrote:How to expire the session in difference tabs in same browser.

If you're trying to achieve a new session per tab, most browsers don't allow this because the purpose of a session is to identify multiple requests coming from the same user. However, the yoono firefox add-on does something clever with sessions.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a pretty good trick. Sessions live on the server and only a handle to the session lives on the browser. All tabs would normally get the same session, and the server is responsible for timing out and destroying the session.

 
Ogeh Ikem
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could be that the firefox plugin is able to trick the server into thinking that the requests are coming from different users by saving one cookie per tab.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic