The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
really quick question about clearing sessions - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: really quick question about clearing sessions (/showthread.php?tid=755) |
really quick question about clearing sessions - crunchers - Jun 22nd, 2010 Hi, Ben. Just getting to grips with ft2. Great stuff! It has really helped streamline our website contact form. Just a quick question... For a form, using API, I have 2 pages (contact and thank you). When I clear the session on the "thank you" page using ft_api_clear_form_sessions();, will the session be cleared only for this form? My concern is if I have more than one form being accessed on my site at the same time, then it may cause a session to be inadvertently cleared from an unrelated form. Sorry for sounding so daft. RE: really quick question about clearing sessions - Ben - Jun 22nd, 2010 Hi Crunchers, Not at all, good question! Don't worry, the sessions will only be emptied for that particular form. All other ongoing forms will be unaffected. All the best - Ben RE: really quick question about clearing sessions - crunchers - Jun 22nd, 2010 Thanks, Ben. Heh. I figured as much but just wanted to be sure. Although I don't contribute to the forums as much as I'd like, I really want to thank you for all your work and support. Our charity is really benefiting thanks to your wonderful efforts. (-: |