Hi,

In my login page, i am trying to check whether user's session is already set
or not by using...

*if(Session.exists())*
                {
                        System.out.println("session exists");
                        new RestartResponseException(Home.class);
                }
                else
                {
                        System.out.println("session dont exists");
                        new RestartResponseException(Login.class);
                }

But it is throwing the error:

*Request processing executed 100 steps, which means it is probably in an
infinite loop.*

Now, I have not logged in the application so how come if(Session.exists())
condition is satisfied?? Also, why it is going in infinite loop?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Session-existence-not-working-tp4536914p4536914.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to