Jump to content

Detecting Login Session from External page


Recommended Posts

Hey Guys,

 

Firstly I want to wish everyone a Merry Christmas. :D

 

Secondly, I have a question:

 

I've got the normal WHMCS client area login form on my website for clients to login.....But I'm wanting to set it up so that if they've already logged in (and the session still exists) it says

 

"Welcome Back, BLAH"

(Go to Client Area) (Logout)

 

ELSE

 

[LOGIN FORM]

 

Now the hyper-linking I can do and logout fine but I'm wondering how I'd work out whether the login session is still there (I'm sure its just a simple bit of php)

 

 

Hope that makes sense.

 

Any help would be greatly appreciated.

 

Thanks in advance

 

Ben

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated