Date:  01/23/2004 05:42:01 PM Msg ID:  001830
From:  FoxWeb Support Thread:  001828
Subject:  Re: Session ID not changing but...
It's possible that the problem is related to the upgrade from VFP 6 to VFP 8.  Try deleting all your FXP files and either re-compile them manually, or let FoxWeb do it for you (as long as you are not using the VFP RUn-Time DLL).

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Rodgers on 01/23/2004 10:50:19 AM:
More Info,
I've updated my server (windows 2000 server) with all my scripts and foxweb 2.6 and everything is working perfectly.  It's only on my developement machine (Windows XP Pro) that I'm having trouble.  Also, I'm using apache 2.6 on both systems. 
Sent by Michael Rodgers on 01/23/2004 07:28:58 AM:
I've just upgraded to foxweb 2.6 from foxweb 2.1.  I have some scripts that worked fine in 2.1 but are now giving me some problems when I go from one script to another.  I'm being forced to relogin each time I link to another script.  I've also upgraded from VFP 6.0 to VFP 8.0.  I've added a line Response.write(session.getsessionid()) to various places in each of my scripts to see if it's changing, but it's not.  There is one script I have that's not giving me this problem.  Below is a sample of my code.  Any help would be greatly appreciated. 
Thanks in advance. 
 
<%
* Notes: All links include a random token, generated by
* the SYS(3) function in the Query String.  This ensures
* that browsers do not use a cached copy of the page.
**********************************************************
private ln_userlevel, lc_posdir
ln_userlevel = 0
SET ENGINEBEHAVIOR 70
IF "MRODGERSFEB03" $ SYS(0)
 lc_posdir = "c:\source_code\vfp_src\pos\"
else
 lc_posdir = "\\ciapp\salesbanking\POSDATA\"  &&"C:\source_code\vfp_src\pos\" 
endif
AuthMessage = ""
auth.authtable = lc_posdir + "user01.dbf"
auth.useridfieldname = "Name"
auth.passwordfieldname = "Password"
Auth.Header = [<center><h3>Security Check Point<br>Please enter your User ID and Password</h3></center><br>]
Auth.Footer = []
* JavaScript code to be executed when the "Cancel" button is clicked
Auth.CancelAction = "window.location='http://mrodgersfeb03/'"
* Offer option to remember user id and password
Auth.SaveCookie = 1
IF Request.QueryString('logout') = '1'
 * The "Logout" link has been clicked
 AuthMessage = "User " + Auth.userid + " was logged out"
 Auth.Logout()
 DO SendHeader
 %>
 <font color="red"><i><%=AuthMessage%>&nbsp;</font></i><p>
 <a href="saleslogin.fwx?<%=SYS(3)%>">Login</a> | <a href="http://ciweb/">CI Intranet</a> | <a href="http://mrodgersfeb03/">IT Test Site</a><p>
 <%
ELSE
 * Authenticate user
 Auth.Authenticate()
 * All code past this point will only be executed if the user
 * has been successfully authenticated
 *Response.Redirect("sales2.fwx")
 Response.write(session.getsessionid())