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:
    28
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    cPanel Main Office
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - cpsession variable
  1. ethical
    Replies:
    3
    Views:
    129

Share This Page