1
Brad
How to get current user's session ID?
  • 2004/3/3 20:04

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


What is the code needed to get the current user's session ID?

2
Brad
Re: How to get current user's session ID?
  • 2004/3/4 2:08

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Now don't make me go and discover this myself...

3
DobePhat
Re: How to get current user's session ID?
  • 2004/3/4 5:46

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


? what do you need the code for?

4
Brad
Re: How to get current user's session ID?
  • 2004/3/4 6:02

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


I'm attempting to port phpBB's visual confirmation (during registration) functionality over to XOOPS as per this thread. Part of the code entails knowing the current user's session ID.

Why do you ask?

5
vaibhav
Re: How to get current user's session ID?
  • 2004/3/4 7:43

  • vaibhav

  • Just popping in

  • Posts: 8

  • Since: 2004/2/27


hey i also wants session id......for gallery............
what im thinking that i will check session variables at the start of each page in gallery and login can be only
in XOOPS so i don't need to integrate gallery with xoops.
actually i asked it previously but nobody came forward to
help me.let's see what happens this time .The only thing
i need is to check cookie and session variables to get to know whether user have login or not .so guys ne body out thr to give some helping hand???????????????

6
Brad
Re: How to get current user's session ID?
  • 2004/3/5 3:02

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


WOO-HOO! I think I found it.

As far as I've been able to figure out, session_id() will give you the current user's session id.

Login

Who's Online

226 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits