PDA

View Full Version : Tabs Content Script losing session



taras
09-11-2007, 02:08 AM
1) Script Title: Tabs Content Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:
I have a php form loaded into "ajaxcontentarea" whitch checks for errors before submitting the form.
The problem is that form reloading in case of error and session getting lost.
Any ideas how to deal with this issue?

Cheers
Evgueni

ddadmin
09-11-2007, 04:45 AM
How is your PHP form checking for errors, using JavaScript or server side validation? In the former case you can stop the form from being submitted at all (reloaded) by adding return false inside the validation script when an error has occured.

In any event though, reloading the page shouldn't case the script to lose its tab persistence. Please post a link to the page on your site that contains the problematic script so we can check it out.