ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Users cannot log-out. Use cookies only in site, but sessions and cookies in forum?

October 16, 2010 8:19am

Subscribe [4]
  • #1 / Oct 16, 2010 8:19am

    pushloop

    422 posts

    Hey

    Another Forum-related issue here.
    If we’re currently only using cookies, users aren’t able to log-out of the forum. Using both sessions and cookies works just fine, but that of course uglifies the URL’s in the main site!

    What to do, what to do…
    Is there any way to use cookies in the main site and cookies AND sessions in the forum?


    Updated
    Just to clearify: If I remove all cookies and log in as a non-admin user, I can log in and log out once without problems. BUT, if I then log in a second time and try to log out again, the Logged-out dialogue is shown but I’m not actually logged-out.

    I’ve tried removing the Cookie Domain as well as adding it again without any difference.
    Also, the site’s running MSM, and I’ve have set a Cookie Domain for each site.

    This seems to be a similar issue as described (but not resolved) here: http://ellislab.com/forums/viewthread/122710/

  • #2 / Oct 16, 2010 12:33pm

    Sue Crocker

    26054 posts

    André - is there a reason why you’re having to use sessions at all? Logging out shouldn’t be an issue. Are you using MSM? Are you standardizing on www or non-www in your URLs?

  • #3 / Oct 16, 2010 2:05pm

    pushloop

    422 posts

    Well, since cookies don’t seem to work, while using sessions AND cookies does, I thought that might do the trick. But then the URL’s becomes ugly as hell :/

    As I stated above, the site is using MSM and I’ve have set a Cookie Domain for each site (as well as tried removing them).

  • #4 / Oct 17, 2010 3:10pm

    Greg Salt

    3988 posts

    Hi Andre,

    Are you using .htaccess to remove index.php from your URLs? If so, can you please temporarily remove/rename it and replace index.php as the site index file in the system preferences.

    Cheers

    Greg

  • #5 / Oct 17, 2010 6:02pm

    pushloop

    422 posts

    Alas no, index.php has been left untouched on this installation since the very beginning.

  • #6 / Oct 18, 2010 2:45am

    John Henry Donovan

    12339 posts

    pushloop,

    Ok lets concentrate on getting your cookies working. So switch back to just Cookies only

    Tell us a bit more about your MSM setup.
    How many sites do you have?
    Which is the primary one?
    Which one do you have your forums setup on?

    What version and build of EE, MSM and the discussion forum are you using?

  • #7 / Oct 18, 2010 5:07am

    pushloop

    422 posts

    The installation is running:

    EE
    Version: 1.6.9
    Build: 20100430

    MSM
    Version: 1.1
    Sites:
    1. Digital Inn (Primary with Forum)
    2. Digital Labs
    3. Ett-till-Ett

    Forum
    Version: 2.0.0

  • #8 / Oct 18, 2010 5:38am

    pushloop

    422 posts

    My client was apparently sitting on a 2.1.2 update that hadn’t been installed, but installing that unfortunately didn’t solve the issue.
    Any idea if upgrading to 2.2.0 would affect things at all?

  • #9 / Oct 18, 2010 8:04am

    Sue Crocker

    26054 posts

    Andre, I’d upgrade all three - forum, EE, and MSM.

  • #10 / Oct 18, 2010 8:28am

    pushloop

    422 posts

    I will certainly do so as soon as possible, but since my clients license has expired for the discussion forum module I would love to make sure I’ve tried everything else first…

    We’ve switched to using sessions only for now, and that seems to work just fine.

  • #11 / Oct 18, 2010 10:15am

    Sue Crocker

    26054 posts

    Explain to them that while sessions work, we can’t guarantee other things might not work as expected when versions are out of sync. They may be willing to take that risk.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases