Hi all,
I have a site with a number of access databases, each of them having a login table so that each department is able to log into their own area and manage the content of the site.
The login page works fine. I have a session variable that records to the user ID and and this shows on each page that the user goes to in the admin area.
The problem I'm having is that every now and again, the variable drops out and I get sent back to the login page. VERY Frustrating, especially when I cannot seem to duplicate the error to find the problem!
1. Can anybody tell me why this is happening? I have read a bit about the different reasons, ie IE explorer's cookie management, the types of links etc, but nothing I do helps, and
2. is there a better way to restrict access to pages at the admin area other than session variables? preferrably something that is not so un-stable.
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
I have a site with a number of access databases, each of them having a login table so that each department is able to log into their own area and manage the content of the site.
The login page works fine. I have a session variable that records to the user ID and and this shows on each page that the user goes to in the admin area.
The problem I'm having is that every now and again, the variable drops out and I get sent back to the login page. VERY Frustrating, especially when I cannot seem to duplicate the error to find the problem!
1. Can anybody tell me why this is happening? I have read a bit about the different reasons, ie IE explorer's cookie management, the types of links etc, but nothing I do helps, and
2. is there a better way to restrict access to pages at the admin area other than session variables? preferrably something that is not so un-stable.
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."