Jump to content

How to get user Session to connect to SitePad


Ramanou

Recommended Posts

Hello,
I would like to know which parameter allows to get the session of the user.

In our case the session is passed in this variable sm_login  (I think)

http://whmcs-preprod.cyberspector.com/clientarea.php?action=productdetails&id=8&sm_login=b829bbd2d3da2741377a44919e7329e2

Our goal is to get the value of  sm_login .
This allows the user to connect directly to the SitePad service from the WHMCS.

Can you help us?

Thank you!
Ramanou

Link to comment
Share on other sites

On 16/01/2019 at 11:02, Ramanou said:

Our goal is to get the value of  sm_login .

if it's in the URL, you should be able to get the value using get.. i'm not sure if you're doing this in a Smarty template or PHP, but if Smarty it's value should be...

{$smarty.get.sm_login} 

... which could be checked in an if statement...

if PHP, you should be able to use $_GET to obtain the value.

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