User id not set sometimes but fine sometimes too

3/04/2010 5:40 pmEric Mittman

It may be possible that the cookies settings used have an effect on the users ability to login and have the session retained. The problem in this scenario is that you cannot control the settings of the users browser, so if the user had cookies and other settings disabled they will not successfully insert into the db regardless. This is why it is a good idea to secure the insert page, if a user did not have the correct session variable value then they would not be able to insert weather it was because they did not login or their browser was not allowing the session to be initialized. It will just prevent 'orphaned' records being inserted into the db.

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.