This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » General » www.x.com and x.com -problem.
expandshrink

www.x.com and x.com -problem.

www.x.com and x.com -problem.

Wednesday 31 March 2004 11:22:21 am - 1 reply

Hi,

We use an 3rd party menu in our portal and we've got in to this problem:
- User comes to our site at x.com and logs in.
- After he/she clicks some link in the menu it sends him/her to www.x.com/content
- The session disappears (login is requested again)

The same thing goes otherway around also.

Our menu (javascript) has all links pointing to www.x.com.

eZ renders all urls depending on the uri that you come in (x.com/www.x.com),
so we can't change the menu to be as x.com 'cause then the other links wouldn't work either...

Is this a bug or something else?

Regards,
Jerry

Wednesday 31 March 2004 11:36:59 am

The reason for this is that cookies does not work on different domains. So if you want to use both domain.com and www.domain.com you should use relative url's in your links, this should solve the problem. Then the user will always to linked to the current domain.

--bård

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from