Overrides the current SessionID's value to a new value.
ID to set the current session entry to
Use with care. When changing a session ID you are basically changing the way that the session is looked up. Session IDs correspond to the HTTP Cookie value, so you will have to override the cookie as well. Inside of a Web Connection request you can do the following:lcSessionID = "IDNew111111" Session.LocateSession(Session.cSessionID) Session.SetSessionId(lcSessionID) *** Force a new Cookie to be written with that value when page is built Response.cAutoSessionCookieName = Config.cCookieName Response.cAutoSessionCookie = loCustomer.oData.UserID Response.lAutoSessionCookiePersist = .T.
See also:Class wwSession
Comment or report problem with topic