Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Cookie Vars and how to get them, etc.

  1. #11
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hmm... alright. Sounds good.
    I'll look into it.

    That link had some functions related to it... I'd be better off using already existing stuff or would I want to create my own system? I mean.... generate a random number, etc etc....


    And... are cookie values done instantaneously or after the script is done... can you save to a cookie then get that value back (checking if cookies worked) within the same script?

  2. #12
    Join Date
    Jul 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Getting cookie informations from different sites

    Hi,


    I ve just started working with cookies..i wanna retrieve the yahoo cookie values from the browser ( in my php script) after i log into any of the yahoo sites...pl tel me how this can be done?

  3. #13
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by djr33 View Post
    And... are cookie values done instantaneously or after the script is done... can you save to a cookie then get that value back (checking if cookies worked) within the same script?
    yes, cookie values are set as soon a the code to set them goes through the parser, so you can get the value back in the same script.
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  4. #14
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Haha, it's been a while since I posted that. Don't worry-- got it now.

    As for your question, Priya, you cannot access cookies from another domain name due to security restrictions. There is no way around this, unless you were to somehow interact with the yahoo server, and that would be complex anyway.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #15
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    ya, sorry. i forgot to look at the date
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •