1
dlemkin
How do you pass username with cookie or session?
  • 2005/5/5 2:08

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Hi,

I am using XOOPS as my primary website portal. I built an alpha paging script that I want to integrate. I don't want people sending pages anonymously, and I want to use the XOOPS USERNAME or REAL NAME to propagate to the FROM field of the paging script.

Can someone point me to the section of code where I can store a cookie with the username or real name information obtained during XOOPS login.

I was going to use some code like:

setcookie ('pager_username', $xoops_uname);


and on the pager script

echo $_COOKIE['pager_username'];

If I am way off base, I would love some advice on how to get this to work. Thanks in advance for any advice.
-dan

Login

Who's Online

323 user(s) are online (253 user(s) are browsing Support Forums)


Members: 0


Guests: 323


more...

Donat-O-Meter

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

Latest GitHub Commits