FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Another question about cookies and session
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Another question about cookies and session [message #31586] Tue, 09 May 2006 08:44 Go to next message
tanoor is currently offline  tanoor   France
Messages: 6
Registered: March 2006
Karma: 0
Junior Member
Hi, il know that a lot of questions has been asked about cookies and session in this forum. Unfortunately, i can't find the solution to my problem.
Here is my problem i want to user to connect in my forum in such a way that the session identifier is not passer via the URL.
To make this word (if I've correctly understood), i have to enable session cookies (aka 'Use session cookies' => 'Yes') and to disable url sessions (aka 'Enable Url sessions' => 'No')
But, if i do this i can't even log in to the administration interface.
I've also noticed that if i set 'Use sessions cookies' to yes and 'Enable Url sessions' to yes, i can log in but the cookies is not set.
If i go to mozilla administration, i can't found a cookie for my site. Yet, cookies are enabled in my browser as i can see the cookies for this site.
Does anyone know what i am talking about. Is it a problem of configuration of mis-installation.
Please answer me, i'm desperate Sad
Smile
Re: Another question about cookies and session [message #31588 is a reply to message #31586] Tue, 09 May 2006 12:06 Go to previous messageGo to next message
tanoor is currently offline  tanoor   France
Messages: 6
Registered: March 2006
Karma: 0
Junior Member
Do I have to rebuild theme every time I change some parameters in the section 'Cookie and session settings'.
Re: Another question about cookies and session [message #31602 is a reply to message #31588] Tue, 09 May 2006 22:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No, you do not need to rebuild the theme after changing cookie settings.

FUDforum Core Developer
Re: Another question about cookies and session [message #31665 is a reply to message #31586] Thu, 11 May 2006 08:19 Go to previous messageGo to next message
tanoor is currently offline  tanoor   France
Messages: 6
Registered: March 2006
Karma: 0
Junior Member
OK now here my point:
I have a site which allows people to connect and to register. What i want is to implement single sign on.

For the 'register' part, there's no problem, when the system creates a user, it uses the function 'fud_add_user' (of the API USER) to force the creation of a new user in fudforum side.

But for the 'connect' part, I have some problems.

The scheme is the following:
--> The user logs in.
--> The system connects the user.
--> The system tries to log the user to fudforum using the function 'external_fud_login' of the file 'forum_login.php'.

Here is the problem: from the function 'external_fud_login', i get a ses_id which seems to be valid. The fud_session_XXX cookie is also created.
So every thing should be fine. But, when i go to the forum, the user is not logged.

I can't understand why?
Does anyone can help me?

[Updated on: Thu, 11 May 2006 09:31]

Report message to a moderator

Re: Another question about cookies and session [message #31679 is a reply to message #31665] Thu, 11 May 2006 21:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When you are accessing the forum does your browser send the cookie back to the forum?

FUDforum Core Developer
Re: Another question about cookies and session [message #31724 is a reply to message #31586] Mon, 15 May 2006 10:16 Go to previous message
tanoor is currently offline  tanoor   France
Messages: 6
Registered: March 2006
Karma: 0
Junior Member
Oki finally it worked. Unfortunately i can't say why Sad.
Probably a problem of configuration.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: consistency help please.
Next Topic: Removing USERCP / MEMBERS
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 04 09:31:21 GMT 2024

Total time taken to generate the page: 0.02654 seconds