Qvaq

Search for Groups

Create New Group

Hot Groups

New Groups

Recently Active Groups

javascript

javascript

Group Members (8)

Bild
murtlest
spring cleaning
Bild
Skalman
Qvaqoholic
Bild
mezod
,,,, ,,, ,,, , ,,,,!
Bild
HittaTidning
Qvaqar från ipad
Bild
macboysweden
--> www.minpryl.se
Bild
mafjus
Click to set status
Bild
ashiso
javascript
Bild
MPV3
No status set

Public Messages

Welcome, guest! Please login or register for free to be able to join the javascript group and participate in the discussions.

View newer entries...

  1. murtlest murtlest 2011-02-21 17:03

    and send it with the ajax each time you send a message

  2. murtlest murtlest 2011-02-21 17:03

    and then store it in a js-variable

  3. murtlest murtlest 2011-02-21 17:03

    it would work like when the page loads you ask the user for their user and pass with javascript

  4. pxl pxl 2011-02-21 17:02

    shortest pseudo code evar

  5. pxl pxl 2011-02-21 17:02

    ..ish?

  6. pxl pxl 2011-02-21 17:02

    <popup="user&pass" onsubmit="xml-url&user=user&pass=pass">

  7. pxl pxl 2011-02-21 17:01

    How, roughly, would the log-in procedure look?

  8. pxl pxl 2011-02-21 17:01

    "Don't believe me? check it yourself"

  9. murtlest murtlest 2011-02-21 17:01

    hehe

  10. murtlest murtlest 2011-02-21 17:01

    and there is no built in encryption in js :(

  11. pxl pxl 2011-02-21 17:00

    I could make it opensource :]

  12. pxl pxl 2011-02-21 17:00

    That's true :/

  13. murtlest murtlest 2011-02-21 17:00

    there is no way for the users to know that you don't store their passwords

  14. murtlest murtlest 2011-02-21 17:00

    it's mostly yourself you want to protect your users from ;)

  15. pxl pxl 2011-02-21 17:00

    like in base64?

  16. pxl pxl 2011-02-21 16:59

    Can't I make js encrypt it?

  17. murtlest murtlest 2011-02-21 16:59

    not really good practice but i think that's the only way right now :/

  18. murtlest murtlest 2011-02-21 16:58

    you could ask for user and pass in javascript

  19. murtlest murtlest 2011-02-21 16:58

    but

  20. murtlest murtlest 2011-02-21 16:58

    it wouldn't work

  21. pxl pxl 2011-02-21 16:55

    But, yeah, that'd be kindof counter productive since you don't want basic auth anyways.

  22. pxl pxl 2011-02-21 16:55

    Nah.. But couldn't you add a function that justs prompts for basic auth without actually wanting to submit anything?

  23. murtlest murtlest 2011-02-21 16:54

    i don't think there is a way to get that password prompt to pop up without actually redirecting the browser to the protected page :/

  24. murtlest murtlest 2011-02-21 16:53

    the verification of the user was done in the browser

  25. pxl pxl 2011-02-21 16:53

    <?php $ch = curl_init();  ?> is at the top of index.php

View more entries...