Re: WicketSessionFilter and several domains

2009-11-29 Thread Fernando Wermus
This is what I think about how to solve this problem, except that it will take a round trip more for the user who accesses to .com.ar thanks! On Sat, Nov 28, 2009 at 11:22 AM, bgooren b...@iswd.nl wrote: Well, even if it's regional the question remains why your site is available over two

Re: WicketSessionFilter and several domains

2009-11-28 Thread bgooren
Well, even if it's regional the question remains why your site is available over two domainnames. You can solve your problem by running the site on one of the domains and issuing a 301 redirect from the other domainname to the main domain. Or did I misunderstand, and are you running the site from

Re: WicketSessionFilter and several domains

2009-11-27 Thread Fernando Wermus
Bas, Thanks. I havent checked this behavior with other browsers. I will. What do you think is the best solution or approach to this problem? Fernando On Fri, Nov 27, 2009 at 7:36 AM, bgooren b...@iswd.nl wrote: Given your detailed explanation, I think the problem is clear: your browser

Re: WicketSessionFilter and several domains

2009-11-27 Thread bgooren
There are serveral options; The easiest is probably to append the sessionId to the URL you are accessing from the flash file; If that is not an option, host both the flash and the website on the same domain. Cross-domain issues are a hassle ;-) What's your reason for working with two domain

Re: WicketSessionFilter and several domains

2009-11-27 Thread Fernando Wermus
Bas, The site is regional. It is for LATAM. I will try to append the session id to the flash post. thanks On Fri, Nov 27, 2009 at 1:17 PM, bgooren b...@iswd.nl wrote: There are serveral options; The easiest is probably to append the sessionId to the URL you are accessing from the flash

Re: WicketSessionFilter and several domains

2009-11-26 Thread bgooren
Did you check if a session is actually created, e.g. do you see a cookie? I cannot imagine that if you use the exact same flow, and the only difference is the domain name, it would work in the one case but not the other. What happens exactly? Getting the session returns null? I suggest you try

Re: WicketSessionFilter and several domains

2009-11-26 Thread Fernando Wermus
Bas, I will try to explain what it is going on with this scenario (anyway I think you understood). 1. an user logs in the site using .com.ar 2. the user gets a flex component in the site's page. The flex component is compiled to point to .com services. 3. the flex component asks a specific

Re: WicketSessionFilter and several domains

2009-11-25 Thread bgooren
If you are using session cookies, the answer is simple: your browser only sends the cookie for the domain from which it was set. Simply put: if a cookie gets set from the .com, it is not available on the .com.ar Bas Fernando Wermus-2 wrote: Hi all, I have several domain for a site:

Re: WicketSessionFilter and several domains

2009-11-25 Thread Fernando Wermus
Bas, What I actually did was to login in .com and test the servlet I mentioned you. Then I logged out and logged in the site using .com.ar again. This second time failed. In this case, it seems that I am using different cookies and it shouldn't to affect if I get the session. To be more