Ok, if I paste the jsessionid into the URL for the second request, all works
well. ON the third request, it works fine without pasting the jsessionid.
How can I append the jsessionid to all requests?
On 5/14/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
I've debugged in DefaultRequestTargetResolverStrategy, particularly line
214-215. It looks like when it hits line 214, it's clearly using a brand
new session which has none of the information that the original session was
holding. Then when it calls Session.getPage(...), it yields a null and
hence hits the ExpiredPageClassRequestTarget code. So, for some reason a
new session is being created and this seems to be the problem. Could it be
what Igor said that the AJAX links don't have the jsessionid in them and
this is why it's losing the original session?
On 5/14/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
>
> There is no WebRequestCycleProcessor class in Wicket 1.2.6.
>
> On 5/14/07, Johan Compagner < [EMAIL PROTECTED] > wrote:
> >
> > place a breakpoint in: WebRequestCycleProcessor
> > and then line 78: boolean processRequest = true;
> >
> > then look what happens the code should go into: target =
> > resolveRenderedPage(requestCycle, requestParameters); (line 137)
> >
> > Then Session.getPage() is called and that should also return the
> > page..
> >
> > johan
> >
> >
> > On 5/14/07, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > >
> > > I'm willing to try anything to try to workaround or fix this
> > > problem. Does anyone have any suggestions where I should start looking or
> > > playing around in the Wicket code to figure out possibly what is going on?
> > >
> > > On 5/13/07, Jonathan Locke <[EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > >
> > > > we're getting some issue like this too and on only one server.
> > > >
> > > >
> > > > Eelco Hillenius wrote:
> > > > >
> > > > > Are you working on multiple servers?
> > > > >
> > > > > On 5/12/07, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > > > >> Igor, Eelco, anyone? This issue is pretty major as I'm losing
> > > > all the
> > > > >> session info when they first come into the app....
> > > > >>
> > > > >>
> > > > >>
> > > > >> On 5/11/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
> > > > >> > Could there be an issue with the PageMap?
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > On 5/11/07, Andrew Berman <[EMAIL PROTECTED] > wrote:
> > > > >> > > I am having a strange issue. If I access my site for the
> > > > first time
> > > > >> (I
> > > > >> clear all cookies, sessions, and cache before going to the
> > > > site), the
> > > > >> page
> > > > >> comes up fine. However, if I click one of the AJAX links, I
> > > > get a page
> > > > >> expired error. Any thoughts why this is happening? I see it
> > > > create a
> > > > >> new
> > > > >> session and the cookie, but it looks like the Ajax link is not
> > > > valid for
> > > > >> some reason. I am using Wicket 1.2.6. Any thoughts?
> > > > >> > >
> > > > >> > > Thanks for any help,
> > > > >> > >
> > > > >> > > Andrew
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > >
-------------------------------------------------------------------------
> > > > >> This SF.net email is sponsored by DB2 Express
> > > > >> Download DB2 Express C - the FREE version of DB2 express and
> > > > take
> > > > >> control of your XML. No limits. Just data. Click to get it now.
> > > > >> http://sourceforge.net/powerbar/db2/
> > > > >> _______________________________________________
> > > > >> Wicket-user mailing list
> > > > >> Wicket-user@lists.sourceforge.net
> > > > >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
-------------------------------------------------------------------------
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and
> > > > take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10457848
> > > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > > >
> > > >
> > > >
-------------------------------------------------------------------------
> > > >
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user