I am writing a php/mysql app that uses a few different tables.
Table 1 stores user information (name email etc), Table 2 stores that users widgets, and Table 3 stores those individual widgets' configuration.
The way im doing this now, is Table 1 has an auto increment key that i use to idenfity that specific user. When they access table 2, it creates a row that contains that tables own key ID, as well as a "uid", which is the key id, of that specific user from table 1. When the user wants to set settings for their widgets, in table 3, it stores what i call a "cxid", or config xid, which is the unique widget id from table 2.
The goal of this is to limit what widgets are seen by what users, and the config is used for configuration purposes obviously.
Problem is, that when im calling up an individuals widgets, it passes the uid in the URL. This is obviously a security issue as you can change that and view other people's widgets. But i dont even want anyone to know how this is being done. Is there any way of passing variables between scripts not using URL, but also not using forms?