close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

User id not set sometimes but fine sometimes too

Thread began 1/22/2010 8:20 am by neil.batchelor254136 | Last modified 3/23/2010 5:37 pm by neil.batchelor254136 | 2239 views | 21 replies

neil.batchelor254136

User id set and sometimes not set

Eric, hi thanks for your help.
Sorry for my late reply I have been super busy.
I am not sure I have explained this problem or I don't understand your response.

I have a USER table with

Primary key, user id not null
First Name
Last Name
Company

The I have another table eg orders:

Primary key, order id not null
Order name
Order detail
ID of the user = user session id (which matches User id above)

Sometimes the ID of the user in the order table is null
Therefore sometimes the session id is not recorded and inserted into the order table for some users. So for some users this is a problem and for some users the User id/session id is recorded properly in the order table.

SO I have user 1 with all the details in user table.
But in the order table where is should be eg. Order id 5, name, detail, user/ession id 1 it is eg. Order id 5, name, detail, user/ession id null.

How can this happen for some and not others.

Is this a cookies issue please?

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.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...