RE: question about tracking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

 

you can write a session variable in your header or global file. to store the
currently visiting file.

when next time store currently visiting file, store the existing page into
previous_visit variable. in this way when you visit the subscribe page you
can get previous_visit page 

 

Thanks,

Muthukumar Selvarasu,

Project Manager (Web Development),

Webmasters Ltd.

 

  _____  

From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of Sudhakar
Sent: Wednesday, December 12, 2007 2:16 PM
To: php-objects@xxxxxxxxxxxxxxx
Subject:  question about tracking

 

my question is about tracking the previous page.

there is a form(ex=subscribe.asp) which is an asp page where users 
can sign up for newsletters. this asp file calls a php file in the 
form action which i have written and this php file processes 
information user entered and inserts to the database. this works 
fine. in the website there are numerous pages from which a user can 
click on an image and be redirected to subscribe.asp and fill in the 
form. 

I need to know which page the user was before subscribe.asp ex = 
aboutus.asp, contactus.asp etc.

please provide the code by which i will be able to track the source 
of the previous page.

NOTE = The form page can only be an asp file as i am using a cms 
which does not support php files due to this the form page will only 
be an asp file

thanks.

 



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux