AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi Parse cookie header
Thema durchsuchen
Ansicht
Themen-Optionen

Parse cookie header

Ein Thema von mohfa · begonnen am 3. Mai 2010 · letzter Beitrag vom 4. Mai 2010
Antwort Antwort
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#1

Parse cookie header

  Alt 3. Mai 2010, 23:19
Hi i need your help in reading cookies entry ;

let's take this cookie text :
//************************************************** **********//
__utma
95979358.1395260604.1270034198.1270034198.12712433 55.2
speedbit.com/
1600
3693996222
30218515
3943881123
30071746
*
__utmz
95979358.1270034198.1.1.utmcsr=(direct)|utmccn=(di rect)|utmcmd=(none)
speedbit.com/
1600
1564981312
30105644
2708999424
30068931
*
__utmb
95979358.1.10.1271243355
speedbit.com/
1600
461544704
30071751
3943881124
30071746
*

//************************************************** **********//

i want to read the __utma , __utmz , __utmb values from IE Cookies

thank you all
  Mit Zitat antworten Zitat
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#2

Re: Parse cookie header

  Alt 4. Mai 2010, 06:10
Delphi-Quellcode:
SL := TStringList.Create;
SL.Text := '...';

i := SL.IndexOf('__utma'); // search the name
S := SL[i + 1]; // read the value from next line
// S = '95979358.1395260604.1270034198.1270034198.1271243355.2'
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:54 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz