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

Capture and report IP address

Community Beginner ,
May 26, 2016 May 26, 2016

Any ideas on how to capture the user's IP address and report it in XML?

535
Translate
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
Advisor ,
May 31, 2016 May 31, 2016

Is there a reason you would need to do this within the course, as opposed to the LMS managing these details?

Translate
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
Community Beginner ,
May 31, 2016 May 31, 2016

Hi

Yes xml report is going to a server, not an LMS.

Translate
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
People's Champ ,
Jun 01, 2016 Jun 01, 2016

You need server side scripts to do that.

Translate
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
Community Beginner ,
Jun 01, 2016 Jun 01, 2016

HI, Thanks.  I noticed a post you made may 2014, text was:

You'd need to create a user variable in Captivate and then populate the variable using JavaScript:

function getUrlVar()

{

     var cp = document.Captivate;
     alert(cp.cpEISetValue("m_VarHandle.yourVariable", "yourValue));

}

When you need the value call JavaScript in a Captivate:

getUrlVar();

Can you help me how to apply this to capture IP address?

Translate
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
People's Champ ,
Jun 02, 2016 Jun 02, 2016

That post really didn't have anything to do with what you want to do.

Translate
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 ,
Jun 01, 2016 Jun 01, 2016

As TLCMediadesign points out, for IP-address you need server-side scripting. That IP address is never transferred nor used to Captivate. Why would you ever use, need that address? You can retrieve account data like ID and Name from the login into a webserver or a LMS but that is totally different.

Translate
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
Community Beginner ,
Jun 02, 2016 Jun 02, 2016

I was requesting some assistance or detail on creating a variable, then populating that variable, then recalling that variable, as described using JS in the post I quoted, seems that was not obviously implied in my post.

I'm trying to help my server people, this is not my area, any help is appreciated.

Translate
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
People's Champ ,
Jun 03, 2016 Jun 03, 2016

Perhaps if you explain the issue in detail, there may be some other solution?

Other that that you will definitely need AJAX, PHP or some other script to be able to gather information and write to a file.

Translate
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
Community Beginner ,
Jun 03, 2016 Jun 03, 2016
LATEST

Indeed, thanks.

They need to capture the IP address for authentication purposes.  Captivate is server reporting to SQL tables.   I have two user ID variables reporting identification, just need to capture IP of flash module session address into SQL for compliance with broader security policy.  ASP structure.

Translate
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
Help resources