Sessions

Started on the old forum in July 2006 · view the original in the archive · old links redirect here

11 replies · 1,314 views · started 20 years ago · 1 min read

3 participants
naveen-PHP LEARNER #1

I didnt understant one thing about PHP , that is session ID.

i dont understand y ppl pass session id through $_GET method while they can retrive it with session_start(); after registering.... ex. see 2wap.org/forum , y did they use session id? please explain me some one. External image (may be gone)

GumSlone Administrator Principal · 1,690 posts #2

Im using them just fun lOL

No sessions are greate cause you can save much more user informations as in links also sessions are more secure, so its not so easy to steal user informations like passwords etc

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

naveen-PHP LEARNER #3

i agree. I have defined sessvars.(without registering). Am passing the $PHPSESSID using $_GET method. can i retrieve them? *Note , i havent registered the session.

External image (may be gone)

lamar-wap #4

i agree. I have defined sessvars.(without registering). Am passing the $PHPSESSID using $_GET method. can i retrieve them? *Note , i havent registered the session.

External image (may be gone)

yo man session coding giving me probs......gumslone can you teach me the basics here?.......

abhisar #5

i am too working on that.

abhisar #7

yes they do.

lamar-wap #9

Hey can some one tell me? does session require cookies? means does it store cookies in the users client? External image (may be gone)

yo man i dont know........im not good on session coding as yet.......

wapkralj Developer · 237 posts #10

Sessions are very similar to cookies in that they can be used for passing values between pages of a website. Rather than storing the values in each web browser, however, the values are stored on the web server, and a single identity cookie is used to tell PHP which set of values corresponds to the current user. Because much less data is sent back and forth between the web server and browser, sessions are more efficient than cookies when larger amounts of data are stored.

hardstyle Developer · 154 posts #11

wonder where wapkralj got that info cause theres not one mispelled word lol

8th wonder of the world

wapkralj Developer · 237 posts #12

i know to explain it,but it easier from some who writted it for money!so its good

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close