Hi,
I am new to Web dev, and my question seems not web2py specific, but i am
using web2py framework, so i am hoping i can get helpful input from the
community, thanks in advance.
i have 2-page website, the first page is to collect user's input and
remember user's input(via cookies to remember now), then pass these info to
the second page. the second page use the use info from first page, to do
ajax calls to server, etc.
My problems:
1. i am using session to transfer user's input from first page to
second page via 'redirect', but i don't want to maintain session in
filesystem or DB, while seems it's not feasible for web2py, as i tested,
there are session files in session directory. so, is it possible to use
cookies or session without store the session info?
2. The parameters of the first ajax call in 2nd page come from user's
input from the first page, then store and update these parameters to
cookies after the ajax call succeeds. continuously, the later ajax calls
will use the dynamically-updated parameters which stay in cookies from
previous call. So, the problem is: ajax call will use parameters from first
page and then use parameters from cookies later. tried to set cookies in
the 2nd page with info from 1st page, obviously, it doesn't work.
Hope it's clear.
Any advice or resource to look through?
Appreciates
Thanks
Dave
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.