• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Session

Guest
Apr 12, 2007 Apr 12, 2007

Copy link to clipboard

Copied

ok in my application.cfc I have

<cffunction name="onApplicationStart">
<cfset Application.Max_Number_Attempts =3>

cffunction name="onSessionStart">
<cfset session.keyCheck =0>

on my page I have

<cfset #session.keycheck# = #session.keycheck# + 1>


<cfoutput>#session.keyCheck#</cfoutput>

should the session.keycheck change everytime I refresh the browser or how does it work, it goes to 1 and never changers after that no matter how many times I refresh the browser.
TOPICS
Advanced techniques

Views

247

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 12, 2007 Apr 12, 2007

Copy link to clipboard

Copied

It seems to work for me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 12, 2007 Apr 12, 2007

Copy link to clipboard

Copied

LATEST
Try it without the octothorps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation