Page 1 of 1

Problem with UserID

Posted: Mon Apr 25, 2005 2:50 pm
by Alex_Leipzig
Hi there,

I have a problem with the UserID module: when login on the homepage, I see the URL of the protected page including this:
?CMSSESSID=95388005dd380b37f52161325b926317
I guess that's a session cookie, right? But what CMS shows me is the default error page. When I then enter the URL of the protected page, it's displayed correctly.
I'm really no php pro, I didn't find anything in the module file.

Thanx for helping.

Re: Problem with UserID

Posted: Mon Apr 25, 2005 3:08 pm
by Ted
This should be fixed in beta3.  However, if you're in a mood to do a couple of code edits, put this in your include.php.  It should be pretty obvious what code it should be pasted over.

Code: Select all

@session_name("CMSSESSID");
if(!@session_id()) {
    @session_start();
    #Trans SID sucks also...
    @ini_set('url_rewriter.tags', '');
    @ini_set('session.use_trans_sid', false);
}

Re: Problem with UserID

Posted: Mon Apr 25, 2005 3:11 pm
by Alex_Leipzig
Thanx, will try that!

Re: Problem with UserID

Posted: Tue Apr 26, 2005 6:02 pm
by Alex_Leipzig
It still doesn't work! What else could I do?
Probably just wait for the next beta...