Permalink
Browse files

Rename redirectAjaxOnSessionLoss to redirectAsyncOnSessionLoss.

  • Loading branch information...
Shadowfiend committed Jun 20, 2012
1 parent e546a9f commit bc5370dcb71d069fd771c20f490ac63e71c5fdf9
Showing with 8 additions and 5 deletions.
  1. +8 −5 web/webkit/src/main/scala/net/liftweb/http/LiftRules.scala
@@ -1316,11 +1316,14 @@ class LiftRules() extends Factory with FormVendor with LazyLoggable {
private def logSnippetFailure(sf: SnippetFailure) = logger.info("Snippet Failure: " + sf)
/**
- * Set to false if you do not want Ajax/Comet requests that are not associated with a session
- * to cause a page reload
- */
- @volatile var redirectAjaxOnSessionLoss = true
-
+ * Set to false if you do not want ajax/comet requests that are not
+ * associated with a session to call their sessionLoss handlers (these
+ * are the client-side liftAjax.sessionLoss and liftComet.sessionLoss functions).
+ */
+ @volatile var redirectAsyncOnSessionLoss = true
+ @deprecated("Use redirectAsyncOnSessionLoss instead.", "2.5")
+ def redirectAjaxOnSessionLoss = redirectAsyncOnSessionLoss
+ def redirectAjaxOnSessionLoss_=(updated:Boolean) = redirectAsyncOnSessionLoss = updated
/**
* The sequence of partial functions (pattern matching) for handling converting an exception to something to

0 comments on commit bc5370d

Please sign in to comment.