1
shashi_bi
Checking the session in newly created pages
  • 2007/10/1 8:48

  • shashi_bi

  • Just popping in

  • Posts: 28

  • Since: 2006/4/24


Hi

am using XOOPS 2.0.x and xhelp module.

recently i created some reports in my xhelp module folder.

how can i check the session whether the user logged in or not in newly created pages..

any help.............


thanks
bands

2
kaotik
Re: Checking the session in newly created pages
  • 2007/10/1 17:53

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


for php:
if(is_object($xoopsUser))
{
//user is logged in so do something
}


for smarty:
<{if $xoops_isuser}>
//true so show something
<{/if}>
www.kaotik.biz

Login

Who's Online

216 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

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

Latest GitHub Commits