Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Canot pass session into Flash!


sdevil

Recommended Posts

Posted

i set 4 stores in 4 different subfolder. and in root i made a page include a flash nav. now i want to pass session from store to root index which i can use the single session to share cart. in the html link i can pass session succeffull. but i can not pass session into flash. the flash link can not pass session.

 

any idea to fix it. i tried 2 days. i dont know how to fix it.

i aslo found a contr here for passing session into flash. but it is not working for me, i dont know why

Posted
i set 4 stores in 4 different subfolder. and in root i made a page include a flash nav. now i want to pass session from store to root index which i can use the single session to share cart. in the html link i can pass session succeffull. but i can not pass session into flash. the flash link can not pass session.

 

any idea to fix it. i tried 2 days. i dont know how to fix it.

i aslo found a contr here for passing session into flash. but it is not working for me, i dont know why

Hi Martin,

 

if your flash pieve was coded correctly (so that is accepts parameters, and no do not ask me about it I only know it's possible to code that way), then you can use it for regular links wth sessions. My setup did not work until the graphics person redid the flash using the correct values.

 

 <EMBED src="http://www.XXX.ch/images/XXX/sideAD.swf?clickTag=' . tep_href_link(FILENAME_DEFAULT, 'cPath=70_72') . '" quality=high bgcolor=.....

 

When I had this issue, I researched it a bit and found the following info which I sent the flash guy to add:

on(release){ 
getURL(clickTag,"_blank"); 
}

 

I'm not sure this is 100% what he added (the blank confuses me a bit) but hey the php code afterwards worked. HTH.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

wait ... I hope in root that page with flash is php and has all access to our regular osC functions?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
wait ... I hope in root that page with flash is php and has all access to our regular osC functions?

 

Thx. i got it. my problem is i should use "_root.osCsid" in flash to get var.

anyway. thx for ur help :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...