sure that its not a sql
injection,because of my tables name and my long table name prefix.
I would not be particularly sure about that it's not for two reasons:
- It's surly not for the reasons you give.
- You being sure while it's known to be wrong drives to the conclusions that you made many grave mistakes which extraordinarily raises the risk-factor of mistakes you did.
This combination normally easily opens up code for SQL injections. Compare with:
As this material shows, it has normally nothing to do with table names and long table name prefixes.
anyway , is that possible that some body inject session and login to admin side of site?
Yes, there is some chance that this is possible, too. You need to prevent session fixation and session data injection (e.g. prevent tampering the data on the file-system / session store).
The way you ask, I'd suggest you get in contact with some more security experienced developer and let him do a review of your code-base. Security is a process and four eyes normally do see more than two also it's good to have someone who is not writing the code so that person is not that involved and less biased giving feedback having more of a birds-view from above on all the things while you for example still think that table names would prevent SQL injection while it's just security by obscurity.