/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] php sessions

I just want to ask if the php session is unique in every computer browsers?

I’m wondering, say I have my laptop and PC, both browsing my website, both logged in on as administrator (not the same username). Say my laptop logged out, will it not affect the logged in administrator in my PC? Because I used session_destroy() in my logout script.

?

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@MindzaiFeb 05.2010 — The session is unique to the browser, yes (unless it is hijacked of course). If you are logged in from 2 locations you have 2 sessions.
Copy linkTweet thisAlerts:
@aj_nscFeb 05.2010 — Better yet, if you use two different browsers to visit the same website on the same computer, each browser gets its own session!
Copy linkTweet thisAlerts:
@kingdmauthorFeb 08.2010 — Thanks for the replies guys. ?
×

Success!

Help @kingdm spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...