[cse491] this homework thing...

C. Titus Brown ctb at msu.edu
Sun Nov 29 20:41:31 PST 2009


On Sun, Nov 29, 2009 at 11:28:56PM -0500, Jack Carlson wrote:
> Sorry if this is seemingly redundant, but I do want to clarify: are we required to use XML for this project, or is using XML in the response optional?
> 
> I'm not using a XML response right now (just returning the string values "true" or "false" for is the username/password combo correct), just want to know if I'm required to change it to be using XML :-)

Yep, it is optional.  However, for the next (and yes, last...) homework you
will need to get a session key from the server, too, so you might think about
how you would expand your approach to multiple values.

cheers,
--titus

> On Nov 29, 2009, at 10:49 PM, C. Titus Brown wrote:
> 
> > On Sun, Nov 29, 2009 at 10:24:15PM -0500, Ryan Kelly wrote:
> >> I think I see what you mean. But I do want to query an XML file to check the user/pass combo right? That's the whole point with the AJAX right?
> > 
> > The real point of AJAX is to do queries without a full page reload (i.e.
> > asynchronously); the method of information encoding is not so important.
> > But using XML is simplest, since you already have functioning code that
> > does that (from the chat example).
> > 
> > The only thing to be encoded as XML is the *response* from the server
> > (yes you are logged in, here's a cookie/no you aren't, go away).  The
> > request for validation can be POSTed as in the chat example.
> > 
> > cheers,
> > --t
> > 
> > _______________________________________________
> > cse491-fall-2009 mailing list
> > cse491-fall-2009 at lists.idyll.org
> > http://lists.idyll.org/listinfo/cse491-fall-2009
> > 
> 

-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list