Skip to Content Skip to Menu

Session expire allert shows

11 years 6 months ago - 11 years 6 months ago #225870 by srinsoftleaderclips
Session expire allert shows was created by srinsoftleaderclips
Hi,

I'm getting the following alert and could not proceed further "Session Expired or cookies are not enabled in your browser. Please press "reload page" in your browser and enable cookies in your browser. Please refresh/reload page before filling in"

It happens while accessing registration or forgot password page but not while login

I'm using CB 1.9 and CBSubs 3.0 also i have turned off "Enable anti-spoofing sessions checks" in CB configuration

Note: I'm not getting this error while login

Thank you
Guru
Last edit: 11 years 6 months ago by srinsoftleaderclips.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 6 months ago #226642 by nant
Replied by nant on topic Session expire allert shows

srinsoftleaderclips wrote: Hi,

I'm getting the following alert and could not proceed further "Session Expired or cookies are not enabled in your browser. Please press "reload page" in your browser and enable cookies in your browser. Please refresh/reload page before filling in"

It happens while accessing registration or forgot password page but not while login

I'm using CB 1.9 and CBSubs 3.0 also i have turned off "Enable anti-spoofing sessions checks" in CB configuration

Note: I'm not getting this error while login

Thank you
Guru


Do you have cookies enabled?

Please Log in or Create an account to join the conversation.

11 years 6 months ago #226717 by srinsoftleaderclips
Replied by srinsoftleaderclips on topic Session expire allert shows
Yes, enabled in all the browser and im getting this for all the browsers

Use this link for testing

www.leaderclips.com/index.php/become-a-member/registers

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 6 months ago #226720 by nant
Replied by nant on topic Session expire allert shows

srinsoftleaderclips wrote: Yes, enabled in all the browser and im getting this for all the browsers

Use this link for testing

www.leaderclips.com/index.php/become-a-member/registers


Turn off SEF and remove recaptcha from form and test again.

Please Log in or Create an account to join the conversation.

11 years 6 months ago #226723 by srinsoftleaderclips
Replied by srinsoftleaderclips on topic Session expire allert shows
We need re-capctha to be enabled as per the requirement, but when i investigate the issue, i found something as follows. Kindly check if that will be useful

When this function "cbGetRegAntiSpamInputTag( $regAntiSpamValues )" is called in comprofiler.html.php, it is not creating the cookie in the browser


Function as follows in administrator/component/comprofiler.class.php

function cbGetRegAntiSpamInputTag( $cbGetRegAntiSpams = null ) {
if ( $cbGetRegAntiSpams === null ) {
$cbGetRegAntiSpams = cbGetRegAntiSpams();
}
cbimport( 'cb.session' );
CBCookie::setcookie( cbGetRegAntiSpamCookieName( $cbGetRegAntiSpams[0] ), $cbGetRegAntiSpams[1], false );
return "<input type=\"hidden\" name=\"" . cbGetRegAntiSpamFieldName() ."\" value=\"" . $cbGetRegAntiSpams[0] . "\" />\n";
}


In the above function , hidden text field is created in source code when registration page is loaded but cookie "cbrvs" is not created.. I guess If this cookie is created then that alert message will not shown.. Am i right?

If so what would be the reason for creating cookie

Note: This happen rarely

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 6 months ago #226725 by nant
Replied by nant on topic Session expire allert shows
There is no need to hack code.

There is a setting to disable CB Anti spoof checking - see CB COnfiguration area.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum