• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

session issue

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application, whenever the user registers he gets a mail for confirmation and also a link in that to unsubscribe if the user desires so.
The problem is-
The user is logged in and is viewing his/her account. Now from the mail he clicks on the unsuscribe link, instead of getting the unsubscribe page, he gets the same page which was already open. The new browser windoe is opened up but the scrren is same in both the windows.
I think this is related to sessions. Insted of creating a new session its using the larady existing session.

Please help....

ritu raj
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask this question in the HTML/Javascript area or the JSP area.

A good way to send unsubscribe messages is to send a unique id instead that is linked to the email. By doing this you can eliminate that a user can guess an emial and unsubscribe it.


// Mathias
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending upon the unsubscription event, do the required business and invalidate the session, if you think it is a session issue. After that you can show the page which is required after this step.
[ December 04, 2005: Message edited by: Sanjeev Kaushik ]
Yeah, but how did the squirrel get in there? Was it because of the tiny ad?
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic