Search Results

Search found 2 results on 1 pages for 'user1432779'.

Page 1/1 | 1 

  • stat() doesn't find a file in c++

    - by user1432779
    on Linux 12.04 I have an executable file located in say: /a/b/exe and a config file on /a/b/config when doing: cd /a/b/ ./exe everything's ok and the stat function finds the file config on /a/b/ HOWEVER,when running from root /a/b/exe the stat doesn't find the config file any idea why? it makes it impossible to run the binary using a script that isn't ran from the folder of the exe.... Thanks

    Read the article

  • get cookie after set cookie

    - by user1432779
    I've set my cookie using set-cookie as follows on the server's cgi scripts print """Content-type: text/html\r\n""", print """Set-Cookie: name=value\r\n\r\n""", but when I reload the page I can't get the cookie as it doesn't appear on document.cookie How do I get the cookies? and was Set-cookie : name=value supposed to appear on document.cookie after I refresh the page? Overall I want the client side to recognize the cookie if exists and act accordingly Thanks

    Read the article

1