In the message that I sent I am sure that the text that Igor sent was
included.
if not here it is:
Igor Vaynberg wrote::
onclick() {
final string url=urlfor(HomePage.class);
getsession().invalidate();
getrequestcycle().pushTarget(new RedirectRequestTarget(url));
}
Only this:
getRequestCyc
> Great, both of them worked.
>
> Only this:
>
> getRequestCycle().setRequestTarget(new
> RedirectRequestTarget(url));
What do you mean?
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE
Great, both of them worked.
Only this:
getRequestCycle().setRequestTarget(new RedirectRequestTarget(url));
On 4/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> onclick() {
>final string url=urlfor(HomePage.class);
>getsession().invalidate();
>getrequestcycle().pushTarget(new
> onclick() {
>final string url=urlfor(HomePage.class);
>getsession().invalidate();
>getrequestcycle().pushTarget(new
> RedirectRequestTarget(url));
> }
Or just
onClick() {
Session.get().invalidate(); // invalidated after the request is handled
setResponsePage(Home.class);
}
This
Off the top of your head again?
¬_¬ (me needs that head).
Great thanks.
On 4/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
yes i would invalidate the session:
onclick() {
final string url=urlfor(HomePage.class);
getsession().invalidate();
getrequestcycle().pushTarget(new RedirectR
yes i would invalidate the session:
onclick() {
final string url=urlfor(HomePage.class);
getsession().invalidate();
getrequestcycle().pushTarget(new RedirectRequestTarget(url));
}
something like that
-igor
On 4/24/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
Hello ever
Hello everyone, I was wondering for a proper way to handle sessions and
logging in and out of a wicket application in general.
The thing is as follows.
I have a Session called WicketSession, inside of which I use a CORBA
BUISINESS object labeled m_cSession to do a Login.
WicketSession has the f