• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

session management in different tabs in same browser

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ramasubramaniam Rathinasubbu wrote:How to expire the session in difference tabs in same browser..


Can you please elaborate?
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic