You use sessions so you don't have to use cookies. The session library should set up a cookie for you, and all you have to worry about is sessions and data in it.
On Fri, Jan 14, 2011 at 6:50 PM, Dexter <[email protected]> wrote: > Read that link like 30 times ... still cant understand how can I use > cookies and sessions together ... > > On Jan 14, 10:42 pm, Branko Vukelić <[email protected]> wrote: >> Take a look at this: >> >> http://webpy.org/cookbook/sessions/ >> >> >> >> On Fri, Jan 14, 2011 at 6:25 PM, Dexter <[email protected]> wrote: >> > Do we have something called RequestHandler in webpy .. ? >> >> > On Jan 14, 8:53 pm, Dexter <[email protected]> wrote: >> >> Hi >> >> >> I want to implement something like this on google appengine >> >> >> Say there are three pages >> >> 1.main.py >> >> 2. foo1.py >> >> 3. foo2.py >> >> >> The main.py is a login pagewww.xyz.com/main >> >> >> The user is authenticated on the mains page and a session is created >> >> and user is directed towww.xyz.com/foo1 >> >> >> The user gives some input on a form in foo1.py which should be stored >> >> in the datastore as inputs for current session of a user. After this >> >> the user is directed towww.xyz.com/foo2 >> >> >> foo2 displays some data to the user based on the values input in foo1. >> >> >> As I understand the session should be identified with a cookie which >> >> the browser will sent when it tries to accesswww.xyz.com/foo2andthen the >> >> rest should be easy. >> >> >> I would love to know how this would be implemented in webpy. Just a >> >> walk thru of the imp points of how the code would be gr8 ... of course >> >> there is nothing like real code itself >> >> >> Thanks & Regards >> >> PK >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "web.py" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/webpy?hl=en. >> >> -- >> Branko Vukelic >> >> [email protected]http://www.brankovukelic.com/ > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- Branko Vukelic [email protected] http://www.brankovukelic.com/ -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
