No announcement yet.

Using VB cookies/sessions

  • Filter
  • Time
  • Show
Clear All
new posts

  • Using VB cookies/sessions

    I think the easiest way to explain what I want is to explain what I'm trying to do. Basically, I want to make a php which takes the logged in user and prints his or her name. I've been trying to work out how to retrieve this data from the login data that VB stores as a cookie or a sesson variable, but I couldn't find anything which helped me (probably due to my lack of phping knowledge.)

    If anyone knows how to retrieve the information I need (the currently logged in users username) then i'd be grateful if you could tell me how to do so!

  • #2
    If you're within vB, $bbuserinfo['username'] contains the username. If you're not, we don't support discussion of hacking here and you'll need to ask at


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.