Em Andamento

PHP question

why sessions don't work perfectly in frames?

We are facing this problem whenever anybody promotes our url in traffic exchanges which always opens urls in frames , it doesn't stores the sessions .

we are using this code

session_start();

session_register("refid_session");

$id=$_GET[id];

echo $id;

if($id !="") {

echo $HTTP_SESSION_VARS["refid_session"];

if($HTTP_SESSION_VARS["refid_session"]=="") {

echo "session created";

$HTTP_SESSION_VARS["refid_session"]=$id ;

echo $HTTP_SESSION_VARS["refid_session"];

}

}

so it shows us the ID correctly and then shows us nothing as session variable doesn't have any value and then shows us "session created" message and then shows us the id again , till here everything is correct but the session it had stored its value get lost immediately when you visit any other page or press the refresh button , on pressing refresh button it shows the same info as it had shown last time so that confirms that it is not storing sessions when it is used in frames , but when we uses it directly it works perfectly.

If you know the reason of problem and have its solution then make your bid and get ready to supply us the code as soon as we accept your bid.

## Deliverables

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

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

linux

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

Ver mais: web traffic engineering, echo press, any question, value stores, value engineering, php site storing code, hire php coder immediately, question form php, traffic seller php, php sessions, refresh accept, php code refresh, question using php, php seller traffic, php time visit, bid question, time visit page php, refresh code php, variable url php, php session problem, php refresh problem, php accept refresh, linux session works, immediately traffic site, php receive url value

Acerca do Empregador:
( 162 comentários ) India

ID do Projeto: #3050742

Premiar a:

amhelptech

See private message.

$2 USD em 2 dias
(15 Avaliações)
2.8

2 freelancers estão ofertando em média $3 para este trabalho

mishake

See private message.

$3.4 USD in 2 dias
(6 Comentários)
2.6