Forum Problems Installing LAMS: Re: Sakai - Lams integration Create problem


 
Search: 

9: Re: Sakai - Lams integration Create problem
In response to 1 12/05/05 07:13 AM
[ Reply | Forward ]
Attached is the tcp dump

At Frame 77 the POST on clicking the create button happens.
The response is at 79, not redirect imbetween. Looking at the parameters, the request includes valid items for both the drop downs.... so this is probably something in the java code.


At Frame 151 I click on the edit button
152 is the redirect to lams (LoginRequest)
156 is the get of the redirect to lams (LoginRequest)
158 is the response from lams a redirect to j_security_check
with a session cookie (ending 325D; path=/lams)
161 is the browser get of j_security_check BUT
the above cookie is NOT sent, instead the sakai cookies are sent
163 lams says no way, no session, direct access (as it should as it didnt get the cookie)

Looking at the spec of SetCookie you cannot bind a cookie to the port, only the hostname and the path. Since Sakai and Lams both use the same session cookie name, you cant run sakai and lams on the same hostname otherwise the sakai cookie takes presidence.


Solutions:
1. Change the cookie name in lams from JSESSION_ID to LAMSSESSION_ID ?
2. Run on a different host on the same box (I will try this) ?
3. Buy dedicated hardware for the lams server. ?


That still leaves use with the Create problem.

Posted by Ian Boston

Attachments:
Reply to first post on this page
Back to Problems Installing LAMS