Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ajax Login Cookies
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
supertodd  
View profile  
 More options Mar 18 2009, 10:07 pm
Newsgroups: mozilla.dev.ajax
From: supertodd <t...@bluecliff.net>
Date: Wed, 18 Mar 2009 19:07:05 -0700 (PDT)
Local: Wed, Mar 18 2009 10:07 pm
Subject: Ajax Login Cookies
Hello,

Is there a safe and secure way to set cookies though an ajax
XMLHttpRequest call (or something similar)?  The idea is that I wan to
have a login form that uses ajax to make the https call to the server,
then return the login cookies.  Is this best done using a hidden
IFrame?

I know I could use a setCookie client side javascript function,
however, I don't think this would be very secure (vs. a page load
where the cookies are sent in the header).  You can assume that the
cookie info being set is properly salted, encrypted, etc.  The
emphasis here would be on security as well as the act of actually
setting the cookies so they can be made available for the following
call to the server without navigating away from the page.

Is there another standard way to do this using ajax?

Thanks,
-Todd


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »