Hi,
i am trying to implement a simple authentization.
I've basically copied what's in the auth example #2 in wicket examples,
and have a Logout button:
add( new Link(logoutLink) {
@Override public void onClick() {
sess.invalidateNow();
Which, when clicked, is performed, but in the second request, the User
object, which set to null in my overriden signOut(), is back in my
when are you exactly calling signOut? cant be deduced from your
snippet and comment. Session.invalidateNow won't remove your custom
session properties by
Hi,
You need to use Session#invalidate() actually.
#invalidate() schedules a call to #invalidateNow() at the end of the
request cycle.
By using #invalidateNow() you invalidate the current http session and
right after this your app creates a new Session because it needs to
finish the request
Solved.
I was writing an original reply, using I think I have something
conceptually wrong, when it hit my mind:
One of the components (the login/logout box) has this:
final EsscAuthSession sess = (EsscAuthSession)getSession();
and the onClick() was like
add( new
On Sun, Jan 8, 2012 at 4:29 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Not sure if I have an answer to your question but recently I asked how
to
turn off page versioning and was told to do:
: stateless, not versioned pages - session problem
On Sun, Jan 8, 2012 at 4:29 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Not sure if I have an answer to your question but recently I asked
how
to
turn off page
]
Sent: Monday, 9 January 2012 8:37 PM
To: users@wicket.apache.org
Subject: Re: stateless, not versioned pages - session problem
On Sun, Jan 8, 2012 at 4:29 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Not sure
,
Chrisco
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Monday, 9 January 2012 8:37 PM
To: users@wicket.apache.org
Subject: Re: stateless, not versioned pages - session problem
On Sun, Jan 8, 2012 at 4:29 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
On Sun
any ideas about #base_domain=mydomain.com problem ;]
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski@gmail.com
__
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
ok I found the reason
oAuth provider adds this #base_domain to callback url. I just dont
understand why it stayed after redirection.
the other issue (that after redirect urls looks like callback) is that
I use ReplaceHandlerException and I rewrite data from original
response to preserve cookies.
Hej,
On Sun, Jan 8, 2012 at 12:24 AM, kamiseq kami...@gmail.com wrote:
hej
I have weird problem with session that I cannot explain and that I
don't fully understand.
I started with default application settings and stateful web page. and
the flow is that I
1. request homepage
2. put data
:25 AM
To: users@wicket.apache.org
Subject: stateless, not versioned pages - session problem
hej
I have weird problem with session that I cannot explain and that I
don't fully understand.
I started with default application settings and stateful web page. and
the flow is that I
1. request homepage
2
Not sure if I have an answer to your question but recently I asked how to
turn off page versioning and was told to do:
getRequestCycleSettings().
setRenderStrategy(IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER);
Actually this just turns off the redirecting. The pages are still
On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Not sure if I have an answer to your question but recently I asked how to
turn off page versioning and was told to do:
getRequestCycleSettings().
ok currently im using 1.5.3 i ll check with snapshot
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski@gmail.com
__
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Not sure if I have an answer to your question but recently I asked how
to
turn off page versioning and was told to do:
getRequestCycleSettings().
ok so bind on session does the trick.
now I looked at setAttribute method and I dont understand why the flow
is altered when session is temporary.
unfortunately I still get this #base_domain=mydoamin. so 1.5-SNAPSHOT
behaves like 1.5.3
now I looked closely to url after last redirect to homepage
hej
I have weird problem with session that I cannot explain and that I
don't fully understand.
I started with default application settings and stateful web page. and
the flow is that I
1. request homepage
2. put data to session
3. redirect to authorize with oauth provider (facebook, gmail, etc)
:
getPageSettings().setVersionPagesByDefault(false);
explicitly.
-Original Message-
From: kamiseq [mailto:kami...@gmail.com]
Sent: Sunday, 8 January 2012 9:25 AM
To: users@wicket.apache.org
Subject: stateless, not versioned pages - session problem
hej
I have weird problem with session that I
is accessed by MySession.loggedInUser.[getters/setters here] and
persisted to datastore when anything changes.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE-tp3584894p3584894.html
Sent from the Users forum mailing list archive at Nabble.com
On 2011.06.09. 10:48, Zeldor wrote:
public static User loggedInUser;
Is it correct? I think it is better without static!
GeZo
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE-tp3584894p3584894.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
Yeah, no idea why Static is there, must be some leftover from early code.
It's good to have someone else take a look at your code and point the
obvious :) I will check if it solves my problems.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE
problem [GAE]
Yeah, no idea why Static is there, must be some leftover from early
code.
It's good to have someone else take a look at your code and point the
obvious :) I will check if it solves my problems.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session
.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE-tp3584894p3585460.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
static you of course get
non-static method cannot be referenced from a static context compilation
error.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE-tp3584894p3585460.html
Sent from the Users forum mailing list archive at Nabble.com
So...
MySession.get().getUser().getLand()
to properly get a value from session? Looks like it could have some
performance issues, or does it just look so scary? :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Major-session-problem-GAE-tp3584894p3585657.html
Hi all,
I have problem with a Wicket app deployed to a new host with shared tomcat :
Not Found
The requested URL /Pharmaco/;jsessionid=77264BF90D4FC51FD38AEF8259D8AD91 was
not found on this server.
Wicket seems to need a directory
/work/Catalina/localhost/Pharmaco/WicketFilter-filestore in
28 matches
Mail list logo