REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
PHP Forum
You are currently viewing our PHP Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
PHP Sessions
Link Back
Thread Tools
Search this Thread
PHP Sessions
08-30-2009, 01:27 AM
#
1
(
permalink
)
PHP Sessions
jasgor9
Novice Talker
Posts: 6
Trades:
0
Talkupation:
I am learning PHP sessions, and am wondering: should I connect to my user database on every page to check if the user is logged in, or is checking if the sesson exists enough? In other words, could someone exploit my website by hijacking a session?
Register
now for full access!
08-30-2009, 05:23 AM
#
2
(
permalink
)
Re: PHP Sessions
davidj
Extreme Talker
Posts: 181
Name: David Jackson
Trades:
0
Talkupation:
its fine using sessions to check a logged in user
This is normally how its done
__________________
Please login or register to view this content.
Registration is FREE
09-07-2009, 08:24 AM
#
3
(
permalink
)
Re: PHP Sessions
lynxus
Awesomeo-Maximo
Latest Blog Post:
HSBC website woes after being handed £10.5million...
Posts: 1,615
Location: UK
Trades:
1
Talkupation:
I dont think its possible to hijack a user session considering the session itself is held on the server rather than the browser.
I normally put "most" of my users data in a session.
and then that data is enought for me to get more data using a sql query.
__________________
█
█
Please login or register to view this content.
Registration is FREE
●
Please login or register to view this content.
Registration is FREE
█
█
Please login or register to view this content.
Registration is FREE
●
Please login or register to view this content.
Registration is FREE
« Reply to
PHP Sessions
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
PHP Sessions
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.84155
seconds with
12
queries