↧
From: | Michael Hogan (Ideate Hosting) |
To: | FoxInCloud support |
In FoxInCloud, we do (roughly):
lcUserID = this.oRequest.GetCookie(Lower(m.this.cApp))this.lSession = .F.; OR this.oSession.IsValidSession(m.lcUserID); OR (not lBotSpider(m.this.oRequest.getBrowser()) AND this.NewSession(@m.lcUserID))
I'm a bit confused regarding how to accomplish that, and I'm floundering a bit as a result.
The following is what I have to date. It's being reset to a new session after this and I can continue to track that down, but it would be helpful for someone to pare down the following to the minimum required:
lcSessionID = Request.QueryString("S")IF !EMPTY(lcSessionID) AND Session.IsValidSession(lcSessionID)* We're adopting the specified session IDSession.LocateSession(Session.cSessionID)Session.SetSessionId(lcSessionID)*** Force a new Cookie to be written with that value when page is built Response.cAutoSessionCookieName = "INT_USER" Response.lAutoSessionCookiePersist = .T.ENDIF