William,I can assure you that Web Connection works just fine on IIS 8 - that's what I run here for all development and maintenance.
IIS 8 has nothing to do with Sessions. There's nothing that would preclude IIS8 from not working with sessions. It's simple cookies and FoxPro code that manage sessions...
Switching to Classic mode fixing it was purely coincidental.
+++ Rick ---
It turned out that WebConnection 5.66 does not "like" IIS8. I set the project up using version 5.55, in IIS compatibility mode with 6 (Windows Server 2003) and it worked fine. (FYI) When using 5.66, I used the latest IIS option from the drop down.
Then I don't know.
You'll need to step into the session code and see why it's failing...
+++ Rick ---
Although it is an old session table, it matches the definitions from the westwind.sql file. The session records are saved in the SQL table, so I do not think that is the issue. My browser has cookies enabled. I can track cookies for any other website, including the same website running on a different computer.
William,
Did you create the session table or is this an old session table. If you upgraded from a previous version the structure has changed slightly iwth the IDs being longer.
The SQL table definitions are defined in a SQL script in:
westwind.sql
in the templates folder. Specifically the Session Table ID field needs to be 14 characters wide.
If that's not it make sure cookies are enabled in your browser - without cookies no sessions.
+++ Rick ---
Hi there,
I just installed VF9 SP2 and Web Connection 5.66 on IIS 8.0.9200 running on Windows 8. I was able to configure the IIS and everything else properly. However, the session variables do not hold. They just disappear after the first request.
In greater detail, the user logs in, some variables are added to the session (during log in) and the user is redirected to his/her landing page. As soon as the user clicks on any other link and a request is generated, the session comes empty.
I already tried (1) changing the application pool, (2) installing/uninstalling IIS features, and (3) using three different browsers (Chrome 27, Firefox 21, IE 10); but nothing seems to help.
Could any of you shed some light in this? Thank you very much!
![]()