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

Site Wide Session Variables

LEGEND ,
Nov 01, 2006 Nov 01, 2006

Copy link to clipboard

Copied

Is it possible to create a session variable that can be viewed on everyone
one the site. Normally I session the user's username and site privledge, but
that can happen for multiple users at anyone time (i.e. Session.username).
Is it possible to create a session that can be used / viewed by everyone
whos on the site?

The goal is to set people to a sitewide session variable to show whos online


TOPICS
Advanced techniques

Views

295

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
Advocate ,
Nov 01, 2006 Nov 01, 2006

Copy link to clipboard

Copied

There's APPLICATION scope variables, which are visible to everyone on the site.

SESSION variables are only visible to that session.

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
Explorer ,
Nov 01, 2006 Nov 01, 2006

Copy link to clipboard

Copied

LATEST
You can't do it with a session variable, but you could have an application scope array containing the user names (i.e. application.username).

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