Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. some advice needed

some advice needed

Scheduled Pinned Locked Moved Web Development
helpdatabasewcfsysadminquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    plork
    wrote on last edited by
    #1

    Hello I'm writing some server-side web services. But now i'm stuck What i have doneso far is write some code that takes username and password and validatest them useing a backend db table. If ok i return a token, just a string with a random number in it My question - what do i do next I though of putting the value in a saop header so that calling web services (the clients) can use this token to make sure the user is valid and so that the user doen't have to keep logging on. Also i need to check the token is still valid e.g. check the timestamp, if it is about to expire renew it, otherwise redirect user to a login page Does this seem plausible Any help much apreciated

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups