473,503 Members | 2,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

META tags, variables, creating sessions

Hi, im trying to write a program to check my email at www.thepub.co.za
If I submit a POST message to the login page I recieve the following
data...
================================================== ============================
HTTP/1.1 200 OK
Date: Tue, 02 Dec 2003 09:45:55 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

44
<html><head>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://mail.
c
thepub.co.za
4
/?s=
c
3fcc5f53e3f5
3
&i=
60
89c12d12a90f9946832b035db69a261672a2cc09a235562240 bacab0786cc06c27481dec26367cac88a83f1635d82346
a
&Username=
19
aa**********@thepub.co.za
a
&Password=
c
bbbbbbbbbbbb
2d
">
</head><body bgcolor=white></body></html>

0
================================================== ===========================
(I have written over my username and password with aaa and bbb)

After recieving this data my browser will navitage to a url such as
the following:
http://mail.thepub.co.za?/s=3fcc6672...4d5a37363648b7

and end up at a URL such as the following:
http://mail.thepub.co.za/Session/242...g4/Hello.wssp?
What I need to do, is to determine from the data between the = = what
GET command to issue the server with...

Alternatively, if no one can help me with that, are there any programs
that can monitor communication on a certain port on your pc? that way
i can watch what my web browser is doing and mimic that.

Thanks for your help. Cheers
Jul 20 '05 #1
2 2989
In article <dd**************************@posting.google.com >, one of infinite monkeys
at the keyboard of in**********@hotmail.com (intermission) wrote:
(chop - off-topic post) HTTP/1.1 200 OK
You might find it easier to work with http/1.0.
Date: Tue, 02 Dec 2003 09:45:55 GMT
Server: Apache/2.0.40 (Red Hat Linux)
For heavens sake upgrade! Apache 2 became stable at 2.0.41 about two
years ago or thereabouts.
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked
That doesn't make sense. The only good reason to use chunked encoding is
so you don't have to close the connection.
Content-Type: text/html; charset=ISO-8859-1

44
That's chunked encoding. You need to deal with it or use HTTP/1.0.
<html><head>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://mail.
And that's just broken. Hey, there is something on-topic in the post!
What I need to do, is to determine from the data between the = = what
GET command to issue the server with...


Stop reinventing the wheel. Use a client library.

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #2
I dont appreciate being called a monkey or a chop buddy. Take your
frustrations out elsewhere. I dont know where else to post this type
of question. I thought someone here was bound to understand html
protocol.
I am simply asking for help.
For heavens sake upgrade! Apache 2 became stable at 2.0.41 about two
years ago or thereabouts.

I do not own this server. I am a client.
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked


That doesn't make sense. The only good reason to use chunked encoding is
so you don't have to close the connection.


Because im not familiar with html protocol, I thought the best way to
do what i need to do would be to watch what my browser does and mimic
that.
I wrote a simple program which accepts a connection from my browser
and makes a connection to the server and sends all data recieved from
party to the other, while writing the packets to files. I should have
mentioned this but did not think it was relevant.
<html><head>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://mail.


And that's just broken. Hey, there is something on-topic in the post!


There is a line break ( chr(13) followed by chr(10) ) at the end of
that line.

the packet appears in my previous post exactly as it was recieved.

I will intercept my browser specifying HTML 1.1 and chunked encoding
and see what happens.
If I dont get anywhere I will look around for a client library.

HAVE A NICE DAY! you a miserable KUN'|'
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3991
by: Cezary | last post by:
Hello. I was read PHP manual, but i'm not sure yet. Here is my meta tags in html: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"> <META HTTP-EQUIV="Expires"...
4
3710
by: Brian | last post by:
Hi, I'm trying to use standard meta tags in an xsl doc and using cocoon as my processor. The problem is that cocoon changes for example: <meta name="keywords" content="test, test, test" /> ...
1
2579
by: Darren Blackley | last post by:
Hi there I have documents that I want to automatically add additional meta tags to. The documents already have some meta tags and I want to keep them all together, so I want to add my new meta tags...
19
3835
by: Christian Hvid | last post by:
Hello groups. I have a series of applet computer games on my homepage: http://vredungmand.dk/games/erik-spillet/index.html http://vredungmand.dk/games/nohats/index.html...
24
3511
by: Day Bird Loft | last post by:
Web Authoring | Meta-Tags The first thing to understand in regard to Meta Tags is the three most important tags placed in the head of your html documents. They are the title, description, and...
1
1156
by: jty202 | last post by:
1. Can I have an array of objects as sessions variable in other words sessions array-of-objects? If so how? 2. Besides Sessions variable what else can I use to store large amount of data...
2
1260
by: Mantorok | last post by:
Is it advisable to use metatags in html pages? I'm going to be creating som ehtml pages on the fly from my website and then ultimately publish them, however I want these pages to be picked up by...
16
2482
by: Edward | last post by:
Hi All, I am having huge problems with a very simple dotnet framework web page (www.gbab.net/ztest3.aspx) , it does NOT render correctly under Apple's Safari. The DIV's do not align amd float as...
12
8017
by: PHPstarter | last post by:
I'm trying to get a meta redirect to pass on a php variable to the redirected page, using the $_GET method. I have the mypage.php?user=created&username=$name&comment=$comment etc , but ONLY the...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5598
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.