close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Validation Sessions in Firefox

Thread began 11/09/2012 9:06 am by Ian S | Last modified 11/12/2012 11:07 am by Ian S | 647 views | 3 replies

Ian S

Validation Sessions in Firefox

Hi Guys,

I have come across a small problem with only seems to occur in Firefox.

On my validation pages, the very last thing I do is clear the session variable that stores the validation entry. This is because, in theory, I shouldnt need this again as when the page is resubmitted it is repopulated with any further errors.

Now, in Safari, Chrome and IE9 (havent tried 7 or 8) this all works fine. The validation works and the form elements are all populated with the original values that were entered.

However, Firefox (on Windows or Mac) doesn't work as I expect it to. It seems that by adding the code to unset the validation session at the bottom of the page, it destroys the values that are required to repopulate the form elements. If i take out the unset code everything works fine.

Is this a quirk in the way Firefox renders the page? Has anyone else come across this? I am even doing this the correct way?

All I am using the bottom of the page is something like

unset($_SESSION("WAVT_register_123_errors");

Am I missing the trick here and supposed to do this another way?

Cheers
Ian

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...