[jQuery] Help with jquery form
I have a form that is using jquery form.
Everything works great, I return a json object and everything, but I
have it so a user must be logged in to use the form.
now if the session has expired, the form is still there. But when you
submit the form, you get nothing back.
now usualy if you submit a form and you are not using ajax, then you
can test to make sure the user is logged in, and then deal with that
and respond.
but with ajax its obviously different. I am pretty sure I am not
getting a response from the server, but not sure really. Al I know is
when I am not logged in, there is no status being returned.
Basically i want to inform the user their session has expired, but
with no response back, how is this done?
thank you.