Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How to see if user is logged in - which variable?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to see if user is logged in - which variable?

 Post Reply Post Reply
Author
klr3 View Drop Down
Groupie
Groupie
Avatar

Joined: 20 February 2003
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote klr3 Quote  Post ReplyReply Direct Link To This Post Topic: How to see if user is logged in - which variable?
    Posted: 12 July 2009 at 11:11am
Hi!
 
For a dynamic menu, includede in the forum header/top, where different links are displayed in case where the user is logged in or not, I wounder if anyone could tell me what variable in the forum tells if the user is logged in or not?
 
In the earlier versions of WWF the variable "Status = True" told me if the user was logged in, but I can“t really find the same in WWF 9.60.
 
Thanks for you reply! Wink
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 5:21pm
if you want to know if the visitor to your page is a member logged in you can do:

if lngLoggedInUserID <> 2 then
   logged in
else
   guest
end if


If you want to know if a different user is logged in, it would be different
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
klr3 View Drop Down
Groupie
Groupie
Avatar

Joined: 20 February 2003
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote klr3 Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2009 at 5:54am
Arhhh... Wink
 
Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.