Page 1 of 1

FEU Login Problem in IE

Posted: Fri May 25, 2007 2:29 pm
by Sonya
Hello,

i am facing a FEU login problem in IE. There is no such problem in Firefox.

When login in IE I am brought to the page i set under "PageID/Alias to jump to after login". But on this page the variables such as {$customcontent_loggedin}, {$customcontent_loginname} are empty. I was investigating furthermore and found that there is a redirection problem. If I comment following code in action.do_login.php I have no login problem in IE:

if( $page )
  {
    $id = ContentManager::GetPageIDFromAlias( $page );
    if( $id )
      {
$this->RedirectContent( $id );
return;
      }
    die( "couldn't get pageid for $page" );
  }
$this->RedirectContent( $returnid );

Do you have any ideas?
Thank you,
Sonya

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 2:50 pm
by calguy1000
make sure any page that has customcontent code, or any smarty logic is marked as non cachable.

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 2:58 pm
by Sonya
The page i am redirected to is not cachable. I also emptied my browser cache.

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 3:03 pm
by Sonya
UPDATE: I tried to login without redirect and I could see custom content, than I typed the same url direct in browser in the same window and the content was no more available. I wonder if FEU works with sessions? I cannot find something related to it.

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 3:07 pm
by calguy1000
Yes, FEU uses sessions (in a minor way).  it uses the sessionid.... so if your sessions aren't working you've got a problem.

Also, make sure you're running the latest versions of FEU and CustomContent.

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 3:21 pm
by calguy1000
You'll also want to be running AT LEAST cms 1.0.5

Re: FEU Login Problem in IE

Posted: Fri May 25, 2007 5:04 pm
by Sonya
I use CMS 1.0.6 with SelfRegistration 1.1.1 and FrontEndUsers 1.2.0.

My problem is now solved. It is up to my development environment (WAMP :). I loaded the site to my webspace (LAMP) and the problem is gone. Thank you for you help!

Re: FEU Login Problem in IE

Posted: Sun Jun 10, 2007 12:21 pm
by Sonya
Now I could solve the issue described above for my WAMP environment. It's quite a stupid apache bug described here
http://mail-archives.apache.org/mod_mbo ... gzilla/%3E

I did use _(underscore) in server name within virtual host. The result was new session id was generated each time the page was reloaded. I redeclared my virtual host and the issue is gone.

Sonya

Re: FEU Login Problem in IE

Posted: Fri Jun 15, 2007 4:08 pm
by Sonya
Just to add: underscore problem is now mentioned in php manual http://de2.php.net/set_cookie . Perhaps it will be worth to add the underscore check to the installation of CMSMS to "avoid frustration" :)