Jump to content
JasperReports Library 7.0 is now available ×

Visualize one time authentication


StudioUser_100

Recommended Posts

I use visualize in my app. When i load my report i use the following code:

 

visualize({    auth: {        name : "superuser",        password: "superuser"    }}, function(v){    var report = v.report({[/code]
....});[/code]

i need to load another report without sending the auth data again. How can i achieve that?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I want to create one session and send my credentials only the first time. I have already read that topic but it explains how to centralize your authentication data.if i have understand correctly,this means that it will send the data in every call, but you have to write them only once.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...