I commented out the DefaultServlet that comes with Tomcat and that seems to
have resolved the issue (at least I can no longer replicate it on my local
machine). I don't know why, but I'm guessing that since my app is mapped to
/ and tomcat's DefaultServlet is mapped to / it creates a session for the
DefaultServlet and then for mine which explains why the session ids did not
match. I'm going to test it in production and see if the problem is indeed
resolved.
On 5/19/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
sorry, no. that was not wicket's javascript.
Andrew Berman wrote:
>
> Interesting. I'm only using Wicket for my AJAX, so are you saying that
> something is wrong with the Wicket AJAX JavaScript?
>
> On 5/19/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> i discovered in my case that this was related to cookie overflow
created
>> by some errant javascript on the page doing ajax callbacks. it had
>> nothing
>> to do with wicket. you might try modifying a build of wicket to
diagnose
>> your problem. i wound up putting some print statements in wicket where
>> sessions are created to dump the jsessionid then finally putting alert
>> statements
>> in the javascript.
>>
>>
>> Andrew Berman wrote:
>> >
>> > I haven't found a solution yet. I'm still debugging stuff and have
no
>> > solution. The problem definitely occurs when the initial redirect
>> occurs
>> > from /context to /context/YourHomePage.
>> >
>> > On 5/17/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >> Did we find a resolution for this yet? We are having the same
problem
>> in
>> >> Wicket 1.3 trunk and I'm about to start investigating. Any definite
>> >> information or conclusions (whether complete or not) would be very
>> much
>> >> appreciated.
>> >>
>> >>
>> >> Andrew Berman 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
>> >> > [email protected]
>> >> > 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#a10669922
>> >> 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
>> >> [email protected]
>> >> 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
>> > [email protected]
>> > 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#a10700976
>> 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
>> [email protected]
>> 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
> [email protected]
> 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#a10701576
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user