Em Andamento

Redirection to delete cookie

PLEASE SEE ATTACHED FILE...

Hi,

I'm not even sure if this is possible, but I'll ask anyway.

I have a PHP page with a download link. Behind the scenes, a cookie has been created to update a table of affiliate sellers. I want a way so that once the download link has been clicked, the cookie is deleted. (This is to stop a dishonest/unaware user refreshing the page multiple times in order to clock up multiple "sales"). However, the download itself should, of course, be allowed to proceed, i.e. the process of deleting the cookie should not interfere with the download procedure.

I know I can't delete a cookie after HTML is printed to the client's browser so I was thinking I would have to, perhaps, redirect to a new page, and then delete the cookie in the HTTP headers of that new page.

Can this be done?

In summary, the process is:

1. Download link clicked

2. Download allowed to proceed

3. Whilst download is underway, browser automatically redirects to a new page where cookie is deleted.

Any alternative suggestions to solving this problem are very welcome. If possible, solution should be 100% PHP. Thanks!

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

PHP

MySQL

Unix

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: delete, cookie, cookie 3rd party, php mysql cookie, browser redirect, unix mysql client, php form delete mysql, html redirect form, code delete file, page summary sales, redirect download php, html form redirect, course table html, cookie php, delete order, redirect download, procedure mysql, mysql procedure file, mysql procedure, file delete, unix solution, cookie code, redirects php page, php cookie, order party cookie

Acerca do Empregador:
( 127 comentários ) United Kingdom

ID do Projeto: #2995330

Premiar a:

appeevw

See private message.

$7 USD em 3 dias
(4 Avaliações)
1.5

10 freelancers estão ofertando em média $26 para este trabalho

aplimovil

See private message.

$12.75 USD in 3 dias
(108 Comentários)
6.9
TakeRealUK

See private message.

$17 USD in 3 dias
(551 Comentários)
6.7
DIBarit

See private message.

$12.75 USD in 3 dias
(116 Comentários)
5.4
nickzam

See private message.

$38.25 USD in 3 dias
(37 Comentários)
4.5
downsize

See private message.

$38.25 USD in 3 dias
(4 Comentários)
4.1
vw656858vw

See private message.

$12.75 USD in 3 dias
(16 Comentários)
3.5
superpedro

See private message.

$42.5 USD in 3 dias
(6 Comentários)
3.7
moryndo

See private message.

$8.5 USD in 3 dias
(11 Comentários)
3.0
phpexperthere

See private message.

$21.25 USD in 3 dias
(0 Comentários)
0.0
brazilsoftw

See private message.

$68 USD in 3 dias
(1 Comentário)
0.0