Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7032519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:56:45+00:00 2026-05-28T00:56:45+00:00

We have a few applications that will be passing a token object around and

  • 0

We have a few applications that will be passing a token object around and I wanted to get an idea about the best approach at doing this.

For starters, this token object is somewhat simple. It would have about 5 properties or so.

  1. Would we create a WCF app and reference it through a datacontract?
  2. What about serializing it and sending it through an http post? (each app have a referenced dll of the object)
  3. Querystring? (I truly don’t think this would be good, but put it up nonetheless)
  4. ?

Let me clarify this as well. I’m not concerned with persisting the data, but more of a best practice approach when just using and referencing this class

Anyways, just looking for ideas from you folks who are a lot smarter than me.

Thanks
Jonathan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:56:46+00:00Added an answer on May 28, 2026 at 12:56 am

    It really does depend on what you want to do, but assuming you want to keep passing the object around, the only way to track it really is with a cookie or a session object.

    ASP.Net uses encrypted tokens to track security in just that way – it takes certain values and pushes them to the client in an encrypted cookie value. It can then unencrypt and deserialize them on every request to keep track of them.

    Alternatively, if you are using ASP.Net, you could always store an object in a session and use that. (You need to do it properly, but that’s the subject of another question.)

    Of course, you could always push a long-lasting cookie to the browser and use it as a key to reference a serialized object in a database.

    If you want to store such objects in a string to pass around between sites, you would probably want to do that with JSON. You would write the object out in the HTML of your page and use javascript to sent it to another server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few applications that I will be uploading to CodePlex in the
I'm designing a few applications that will share 2 or 3 database tables and
I have a few applications that I have built that leverage MSMQ on a
I have a Cherokee installation that I'm using to serve a few web applications
I have a few JAVA application that I monitor using JMX. I would like
We have a few projects that involve building an application that is composed of
I have a pure Winapi application that needs a few new features. One of
I have a simple application that loads an unmanaged dll and passes a few
I have this senario. We have an application server that contains a few web
I have few different applications among which I'd like to share a C# enum.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.