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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
    Staff Member

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

Share This Page