Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:13 am EST
Geeklog Forums
Token issue with Chrome browser
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Trying to implement tokens on sphere plugin. Works fine on Firefox but token failed on Chrome.
The recorded token in the DB is not the same as that on the hidden input
$token = SEC_createToken();
$html = '<input type="hidden" name="' . CSRF_TOKEN . '" value="' . $token . '"' . XHTML . '>';
Theme is professional.
Any help welcome ?
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
The recorded token in the DB is not the same as that on the hidden input
Text Formatted Code
//new token$token = SEC_createToken();
$html = '<input type="hidden" name="' . CSRF_TOKEN . '" value="' . $token . '"' . XHTML . '>';
Theme is professional.
Any help welcome ?
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
10
9
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
When I display the form with the token, under FF or IE there is only 1 token created and recorded in the db but 2 with chrome (Version 22.0.1229.79 m) and the first one is deleted from the db
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
9
7
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
For some reason this problem sounds familiar but I can't remember the issue I had ...
Do you have any problems with tokens in the core plugins using the same site with chrome?
Is it only the professional theme?
One of the Geeklog Core Developers.
Do you have any problems with tokens in the core plugins using the same site with chrome?
Is it only the professional theme?
One of the Geeklog Core Developers.
10
11
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
This seems to be related to theme. I changed
to
in header.thtml file and this solved the problem.
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Text Formatted Code
<html{lang_attribute}{xmlns}>to
Text Formatted Code
<html{html_attribute}{xmlns}>in header.thtml file and this solved the problem.
Ben
I'm available to customise your themes or plugins for your Geeklog CMS
11
9
Quote
All times are EST. The time is now 10:13 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content