469,275 Members | 1,619 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

maintaining session/context

hi!

I am developing an application where the user will progressively create a
template file, each time progressively adding more information
i have explored echoing form data back each time using hidden fields and i
cant user a db.
What approach would you suggest? i suppose i could use cookies but then i
will have a large number of name-value pairs. With files, comes the
expense if disk I/O.
Also if i use files, is there a way to write an object to a file, i.e,
serialize an object and read/write to/from a file.

thanks
--
Ajay Brar,

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Jul 18 '05 #1
1 1422
Ajay wrote:
hi!

I am developing an application where the user will progressively create a
template file, each time progressively adding more information
i have explored echoing form data back each time using hidden fields and i
cant user a db.
What approach would you suggest? i suppose i could use cookies but then i
will have a large number of name-value pairs. With files, comes the
expense if disk I/O.
Also if i use files, is there a way to write an object to a file, i.e,
serialize an object and read/write to/from a file.

thanks
--
Ajay Brar,


Without more detail, its hard to say, but off the top of my head I'd
suggest keeping the name-value pairs or template entries in a dictionary
and then saving the dictionary object via pickling ...

--
----------------------------------------------------------------------------
Tim Daneliuk tu****@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by leegold2 | last post: by
8 posts views Thread by Leon | last post: by
3 posts views Thread by Miguel | last post: by
5 posts views Thread by Miguel | last post: by
8 posts views Thread by Andrew Teece | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.