Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to get the cpsession variable?

Discussion in 'cPanel Developers' started by milakfan, Dec 17, 2012.

  1. milakfan

    milakfan Member

    Joined:
    Dec 16, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I'm trying to use curl to auto install a script

    but
    the url is like:
    domain.com:2083/cpsess1881778293/

    in the code, I'm not sure how to attach the cpsess part so that it can be accessed via curl

    Where is this variable stored?

    thanks
     
  2. Travis

    Travis Active Member

    Joined:
    Apr 24, 2002
    Messages:
    31
    Likes Received:
    3
    Trophy Points:
    383
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice