• 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Auto Login session issue

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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
  • 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]
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic