SecureSessionHolder: http://pastebin.com/J891bDye
SecureSessionListener: http://pastebin.com/UBnLRLJ7
and just inside your implementation of
org.apache.wicket.authentication.AuthenticatedWebSession.authenticate(String,
String) ( or any other auth method ) call
SecureSessionHolder.addSecureSession
would you paste your code here? I will get a try if there is no problem.
On Sat, May 8, 2010 at 9:04 PM, Zilvinas Vilutis wrote:
>
> The problem is not in wicket, but in SwfUpload or more specific would be
> the
> Adobe Flash itself - which uses IE cookies in any case, even when you're
> using F
The problem is not in wicket, but in SwfUpload or more specific would be the
Adobe Flash itself - which uses IE cookies in any case, even when you're
using FF or Chrome or Safari on Windows (
http://swfupload.org/forum/generaldiscussion/869 )
Not sure how secure is it - but I've solved this in th
Thanks Fernando, I was looking for some code like this!
Fernando Wermus-2 wrote:
>
> Hi,
>
> Instead using a servlet you could try the following (you can find the
> whole
> code at wicketstuff pickwick )
>
> This way you will have the session because your are into the
> requestCycle
>
>
I forgot to say : I am using Wicket 1.3.6 + Tomcat + java 6 maybe it
gives a clue
2009/7/24 Altuğ B. Altıntaş
> I will post my codes. But now i catched a very very strange position in
> WicketSessionFilter . Let me explain :
>
> I used WicketSessionFilter and a Simple UploadServlet as Igo
I will post my codes. But now i catched a very very strange position in
WicketSessionFilter . Let me explain :
I used WicketSessionFilter and a Simple UploadServlet as Igor said.
I tested my application using Firefox 3. It gives :
java.lang.IllegalStateException: you can only locate or create s
Could you show to us the whole code? I mean, the page or panel that upload
the files as well the IRequestTarget class you have implemented?
On Thu, Jul 23, 2009 at 10:31 AM, Altuğ B. Altıntaş wrote:
> Hi all ;
>
> I can't use WicketSessionFilter maybe because I am using Apache Shiro (old
> name i
Hi all ;
I can't use WicketSessionFilter maybe because I am using Apache Shiro (old
name is Apache Kİ).
In fact Fernando's solution works; Now I can reach and use Session inside
UploadRequestTarget which implements IRequestTarget.
But then I realized that I reach a different Session object in
Up
see WicketSessionFilter
-igor
On Sun, Jul 19, 2009 at 3:20 PM, Altuğ B. Altıntaş wrote:
> Hi Igor;
>
> I found the problem; problem is when i hit my UploadServlet via http-get
> method , i simply write the url and hit the enter then below code is working
>
> Session wicketSession = Session.get()
Great solution Fernando.
It works !!!
Thanks.
2009/7/20 Fernando Wermus
> Hi,
>
> Instead using a servlet you could try the following (you can find the whole
> code at wicketstuff pickwick )
>
> This way you will have the session because your are into the
> requestCycle
>
> On your Wicket
Hi,
Instead using a servlet you could try the following (you can find the whole
code at wicketstuff pickwick )
This way you will have the session because your are into the
requestCycle
On your WicketApp
mount(new URIRequestTargetUrlCodingStrategy("/upload") {
@Overri
Hi Igor;
I found the problem; problem is when i hit my UploadServlet via http-get
method , i simply write the url and hit the enter then below code is working
Session wicketSession = Session.get();
I can get wicket Session, wow !! it is great...
BUT ...
When i hit my UploadServlet via http-p
that doesnt make any sense. all things within the webapp share the
session. you guys are welcome to create a quickstart that replicates
this.
-igor
On Tue, Jul 14, 2009 at 3:47 AM, Altuğ B. Altıntaş wrote:
> Also I have a problem like yours.
>
> Servlet session and Wicket's session are different
Also I have a problem like yours.
Servlet session and Wicket's session are different so you are getting nul.
Just debug your application and you will see that they have different
session Id's.
I tried to use WicketSessionFilter but it doesn't work.
I am using wicket 1.3.5.
Cheers...
Altug.
20
14 matches
Mail list logo