I have <hrefs> that call this function

<script type="text/javascript">
function submitandgo (url)
{
window.document.theform.submit();
window.document.location=url;
}
</script>

If I don't use the location portion it works fine, but it seems to boot off
to the new page before the form submit. An suggestions? Is there a way in cf
to submit a form and then do a cflocation. Perhaps I need some more js code
in there.

Jeremy 

-----Original Message-----
From: Joe Ferraro [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 12:39 PM
To: CF-Talk
Subject: onSessionEnd locking

When accessing the application scope in the onSessionEnd function in
Application.cfc should you lock in the scope of application or with a named
lock?

The reason I ask is because the documentation uses a named lock and the
onSessionEnd function cannot reference the application and session scopes
directly.

Thanks,

Joe




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232932
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to