I've started to write a small intranet. Got it working on my PC. The IT section needs a login, so I look up the database for the login details, then save the username to a session variable for use elsewhere. I now want to move the intranet to a server but have come up against this error:
My original error was "Object required" - so I added "Set" to the start of the line.
The only difference I can see is that I'm running IIS5 and the server is IIS6.
Any help would be greatly appreciated.
Line 50:Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Session'
/Intranet/systems.asp, line 50
Code:
Set Session("UserID") = objRecordSet("user_name")
My original error was "Object required" - so I added "Set" to the start of the line.
The only difference I can see is that I'm running IIS5 and the server is IIS6.
Any help would be greatly appreciated.