File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Multiple jforum on the same address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JForum
Reply Bookmark "Multiple jforum on the same address" Watch "Multiple jforum on the same address" New topic
Author

Multiple jforum on the same address

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello,

I have two jforum installed on the same server but on different webapps (and database of course).

Apparently there is a cookies problem.
I can have both forum on the same browser but there is a problem with the automatique login.
apparently the cookie is the same, and I can't have the auto login on both forums.

Is there a way (beside using another domain) to change this, like changing the cookie name?
[originally posted on jforum.net by pala]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can change the cookie name in the config file.
[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Thanks, works perfectly now.
[originally posted on jforum.net by pala]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can set the cookie name for each instance via the cookie.name.data property. I.e., add a line like:

cookie.name.data=jforumUserId2

to the jforum-custom.conf file in one of your webapps.

Note: Sorry.. had this thread open in a browser and didn't refresh before I got back to replying...
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Multiple jforum on the same address
 
Similar Threads
How integrate the forum
CookieSSO - Not working
Auto-login
RandomNess of cookie
SSO /redirect / anonymous users