The Session.Token property is only populated when FoxWeb receives a request that does not contain a session cookie. This means that the token is populated for all browsers when a session is first created, while in subsequent requests it is only populated for browsers that have cookie support turned off.
The Session.Token property and the Session.GetSessionID method are different and cannot be used interchangeably. You should always use Session.GetSessionID to get the session id, while you should use Session.Token to insert the sessionid query string variable in your URLs. Session.Token is in the form "sidfw=XXXXXXX", where "XXXXXX" contains the sessionid and some additional information.
Sent by Jim Doe on 12/15/2004 01:57:36 PM:
I tried using the "session.token" instance but nothing is being generated. I've tried a simple <%=session.token%> as well as a response.write(session.token). In both instances, I don't get an error, but I don't get any kind of data.
Also, is there any fundamental difference between the session.token value and the value returned from session.getsessionid() ?
"The true measure of a career is to be able to be content, even proud that you succeeded through your own endeavors without leaving a trail of casualties in your wake."