Suljettu

CMS Pro iframe PHP Sessions bug fix

I bought a CMS application here:

[url removed, login to view]

and its very well written although i need to add one little thing.

i have a 'post' in the CMS which has an iframe (doesnt accept php in content directly), problem is, in Chrome and Firefox (IE works fine) the PHP session seems to change or get lost in the iframe. The same thing occurs with a javascript popup of my external php file.

All i need to do is get the currently logged in username in my iframe page.

The CMS author gave me this to get the username from the session:

define("_VALID_PHP", true);

require_once("[url removed, login to view]");

print $user->username;

This works fine in IE but in chrome or firefox is prints 'Guest' instead as the session id has changed.

I attempted to google fix this problem and found no solution yet so looking for someone to help resolve this issue for me.

Taidot: CMS, HTML5, PHP

Näytä lisää: iframe php, cms pro help, cms pro fix, pro net, user pro, post pro, net pro, lost and found, iframe, javascript bug fix, iframe change, cms written, looking file management php, little php cms, iframe application, guest cms, php guest, guest php, cms page found, google chrome print javascript, fix javascript problem google, google javascript print, cms application php, iframe issue, fix print

Tietoa työnantajasta:
( 14 arvostelua ) Adelaide, Australia

Projektin tunnus: #4256730

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

dboyzhang

Not sure what the issue is but want to try. More details are in PMB.

$120 AUD 2 päivässä
(215 arvostelua)
6.8
ValueCoders

Hi, Experts team of SEO/Wordpress/PHP/joomla/Drupal developers and designers. Thanks Gaurav

$200 AUD 10 päivässä
(95 arvostelua)
6.5
diegou

Hello please check pmb

$250 AUD 7 päivässä
(34 arvostelua)
5.6
linuxfreak1985

Hi there, We are experts in PHP Open Source (any kind of PHP/MySQL work),wordpress and Ajax/Web 2.0 technology. Some of the projects we completed for php are mentioned below https://www.freelancer.com/projects/ Lisää

$200 AUD 5 päivässä
(54 arvostelua)
5.6
suvendukm143

Hello Sir, ready to start. Quick professional service guaranteed. Regards, Suvendu

$55 AUD 1 päivässä
(3 arvostelua)
1.7
beads123456

I had this exact same problem and have a (simple, effective, and secure) solution right here, under my belt. However, it may take a little time getting acquainted with the related code, for implementation (integration Lisää

$200 AUD 3 päivässä
(0 arvostelua)
0.0
sourimsl

Hello, I can solve this issue.

$50 AUD 2 päivässä
(0 arvostelua)
0.0