SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2002
    Location
    Paoli, PA, US
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    wlCookie object -- any way to Get contents?

    I have a need to store information from a cookie generated by our website. Unfortunately I only see methods for Delete, Set, and ClearAll.

    Does anyone know of anyway to extract the cookies that WebLoad stores?

  2. #2
    Junior Member
    Join Date
    Feb 2002
    Location
    Burlington, Mass, USA
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: wlCookie object -- any way to Get contents?

    There is an example of how to do this on RadView's Website it is in the support section under Agenda Center Examples. The example is called Capturing and displaying cookies. Here is where it is located: http://www.radview.com/support/AgCtr...CE_Cookies.asp

    If this isn't successful it could be that the cookie has a different key name (like "cookie" instead of "set cookie"). If this is the case you can always loop through the headers to retreive the cookie key and value with the following code:
    d=document.wlHeaders;
    x=0;

    do {
    InfoMessage("HEADER#: " + x + " TITLE: " +d[x].key +
    "VALUE:"+d[x].value)
    x++;
    } while (x < d.length)

    Once you know the cookie key you can use the capture cookie code on the Website to capture and disply the cookie:
    myCookie = wlHtml.GetHeaderValue("cookie")
    InfoMessage(myCookie)

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:10 PM.

Copyright BetaSoft Inc.