Thanks for the advice, Ben, I'll see if I can reduce it to a test case and post my code.
On Mon, Nov 24, 2008 at 10:29 PM, BenRifkah Bergsten-Buret <[EMAIL PROTECTED]> wrote: > Hey Aaron, > > I'm assuming that when you say "it loses the session" you mean that the user > no longer appears to be logged in. This could be happening for any number > of reasons. But we'll need you to tell us how your sessions are > maintained. > > The breakdown could be in the way each user's browser is identifying > itself. Are you using a cookie to identify each user or perhaps a CGI > parameter? The breakdown could be in sending this value to the user to > begin with, or perhaps your code isn't retrieving the value from the browser > properly. It's also possible that there is a problem with your code that > accesses your server side session data store (perhaps a database ?). Are > you sure that your sessions are getting logged on the server side? You say > that your POST request is "working fine" for "establishing session > variables". Does your code get access to these session variables when > attempting to access them FROM THE SESSION during the post request? Is ANY > state information that you're storing in your session available to your code > during subsequent GET requests? > > Try to isolate any session related code and create a component that does > nothing but accept a POST request to start a session and store session > variables and then take a GET request and print the session variables to the > browser. This will allow you to debug your setup without the confusion of > any of your business logic getting in the way. If doing this doesn't > provide enlightenment post the contents of this component on back to the > group along with a description of what you expect to happen and what's > happening. Also, make sure to answer the questions above. > > Good Luck, > -- Ben > > > > On Mon, Nov 24, 2008 at 1:18 PM, Aaron Hawryluk <[EMAIL PROTECTED]> > wrote: >> >> Hi all, >> >> I have an app working fine for login purposes (I use a POST request >> for the login and establishing session variables), but if I call a GET >> request after I have logged the user in, it loses the session. Is this >> expected behaviour? Is there a way around it? >> >> --Aaron >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Mason-users mailing list >> Mason-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mason-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users