Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Auto Login session issue

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rafael,

I am using auto login using cookies(auto-login and JforumSSO).

1)Open new browser with http://localhost/myapp and logged in as gopal into my application and set the cookie for jforum. I am able to auto-login as gopal in fourm and it is working fine.

2)Instead, Open new browser first i typed http://localhost/forum . It is logged in as annonymous user that is fine. Now i changed the url in the same browser with http://localhost/myapp and logged in as gopal. But forum is logged in as anonymous instead of login as gopal user.

It looks like previous jforum session is contined instead of creating a new session.

I will appreciate if you suggest any solution to fix this issue.


Gopal
[originally posted on jforum.net by gopal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, we have to find a way to handle that. For now, if you want to dig into some code, take a look at ControllerUtils.java, methods refreshSession() / checkAutoLogin()

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic