Results 1 to 2 of 2

Thread: Tabs Content Script losing session

  1. #1
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tabs Content Script losing session

    1) Script Title: Tabs Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •