Re: WicketSessionFilter and empty HttpSession

2010-05-08 Thread Zilvinas Vilutis
Didn't work for me :( - nothing is impossible -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-empty-HttpSession-tp1888171p2136548.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Igor Vaynberg
that means session has not yet been created. you should use Session.exists() to test for this. -igor On Mon, Jul 27, 2009 at 7:38 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: Hi all ; I am working on WicketSessionFilter for a while and i have problem about accessing Wicket Session in my

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
It is impossible, I can get Session Id but then when I call servlet ' s doPost() method , WicketSessionFilter can not find the HttpSession. I mean : HttpSession httpSession = httpServletRequest.getSession(false); // WicketSessionFilter.java in wicket.1.3.6.jar returns NULL. so that my servlet

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Igor Vaynberg
thats why i said use Session.exists() to check first, and only call Session.get() if Session.exists() returned true. -igor On Mon, Jul 27, 2009 at 9:45 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: It is impossible, I can get Session Id but then when I call servlet ' s doPost() method ,

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
OK. Problem occurs because of swfupload - swfupload.org/ swfupload is a flash based file upload tool and it doesn't send cookie information in the http header so i can't access Wicket Session. I am sending Session Id in URL when posting via swfupload; Is there any way to access Session object

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Igor Vaynberg
no, there is not afaik. what you need to do is pass it in the url just like the servlet container would /context;JSESSIONID=x?foo=bar -igor On Mon, Jul 27, 2009 at 11:09 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: OK. Problem occurs because of swfupload - swfupload.org/ swfupload is a

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
Thanks Igor. 2009/7/27 Igor Vaynberg igor.vaynb...@gmail.com no, there is not afaik. what you need to do is pass it in the url just like the servlet container would /context;JSESSIONID=x?foo=bar -igor On Mon, Jul 27, 2009 at 11:09 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: OK.