Jump to content

Ajax Callback and Security


Gazley
 Share

Recommended Posts

Hi there,

Just wondered whether anyone could explain something for me?

I am building a page that renders a gallery of images specific to a user who has previously logged in. If the user interacts with an image on the page eg., Likes it, Hides it etc., I want to make an Ajax callback to update the image status on the server. Here's the real question(s):

1) Using jQuery Ajax, will the targeted page/URL still be able to "know" the currently logged in user?

2) I want to send data about the image and what has been done to it by the user. Is Json a good candidate for this? Is there a "best" way to build Json "client side".

Many thanks.

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...