Problem with UserID

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Alex_Leipzig

Problem with UserID

Post 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.
Last edited by Alex_Leipzig on Mon Apr 25, 2005 2:56 pm, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problem with UserID

Post 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);
}
Alex_Leipzig

Re: Problem with UserID

Post by Alex_Leipzig »

Thanx, will try that!
Alex_Leipzig

Re: Problem with UserID

Post by Alex_Leipzig »

It still doesn't work! What else could I do?
Probably just wait for the next beta...
Last edited by Alex_Leipzig on Wed May 11, 2005 8:25 am, edited 1 time in total.
Locked

Return to “Modules/Add-Ons”