RE: CForms: Redirecting when in AJAX

2006-03-13 Thread Stewart, Gary

> I've been using the CForms AJAX stuff for a short while and 
> I've found it very useful. However I currently run the AJAX 
> forms in an authenticated pipeline. If the session has timed 
> out the pipeline will redirect to the login page. However if 
> a form is open and the session is invalid it will come 
> through as an AJAX request and take the response as an AJAX 
> reply. Is there a way of redirecting rather than showing the 
> debug message?

It was me who posted this in the first place so sorry to pester but does anyone 
know anything about this or suggested documents to look at to see how some of 
the AJAX calls work. 

On a slightly different note but still related to AJAX; can any DOM changes be 
made while an AJAX event is occurring? Basically I'd like something a bit like 
a GoogleMail's "loading" information which is basically some CSS with 
.ajax-start {display: block} and .ajax-finish {display: none} and some 
javascript code to change the class when the AJAX request is happening. 

Thanks,

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CForms: Redirecting when in AJAX

2006-02-20 Thread Stewart, Gary
Hello,

I've been using the CForms AJAX stuff for a short while and I've found it very 
useful. However I currently run the AJAX forms in an authenticated pipeline. If 
the session has timed out the pipeline will redirect to the login page. However 
if a form is open and the session is invalid it will come through as an AJAX 
request and take the response as an AJAX reply. Is there a way of redirecting 
rather than showing the debug message?

Thanks,

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]