Title: Message
Thanks Gary, but no, it is not. It is the URL that you have posted to, not the page within the websnap application itself. It does contain a page name within it, but it is the name of the first page visited.
 
As I understand it, and I am far from expert, Websnap gets all of it's information about what to do and where it's going and where it's been from a hidden field called "__act", which it sets in _javascript_ just before posting. __act has a number of subfields, some or all of which are present for a given action. We observed that the fp and p subfields contained the name of the previous/current page, so we were parsing for these values. In Delphi 7 they no longer hold the value of the previous/current page and now hold the value of the next page, along with a subfield called sp. Whether this is a fix or a breakage, or we have simply been lucky (and stupid for relying on it) for the last year and a half I do not know.
 
In any case, I realised that adding our own hidden variable wasn't quite the mission I thought it would be and so I have done that and it works. Yay. Thanks people with suggestions.
 
 
-----Original Message-----
From: Gary T. Benner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09 2004 4:49 p.m.
To: [EMAIL PROTECTED]
Subject: RE: [DUG] What webpage did I come from?

[Reply]

HI Samuel,

Is TWebRequest.referer what you wanted?

kind regards

Gary

At 15:28 on 9/03/2004 you wrote

>To : [EMAIL PROTECTED]

>CC :

>From: Allan, Samuel, [EMAIL PROTECTED]

>Content Type: text/plain

>Attached:

>

>Does anyone know how I could reliably find out what page a given request

>was submitted from? This would be within a Websnap application, using

>the stock Websnap form and form submit button. All pages generated by

>Websnap.

>

>Samuel Allan

>

>_______________________________________________

>Delphi mailing list

>[EMAIL PROTECTED]

>http://ns3.123.co.nz/mailman/listinfo/delphi

>


========================================================
Gary Benner - e-Engineer and Software Developer - [EMAIL PROTECTED]
123 Internet Ltd
Lecturer in Information Technology - Waiariki Institute of Technology

Ref#: 41006

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to