Yeah, you guys are right: the db idea wouldn't fly.
So why not this:
Since the purpose of the "login" seems to be just the customization of what they see, why not:
1.User logs into page
2.UserID is assigned to a querystring variable and sent to
the start page of the other application
3.THAT application grabs the querystring variable, and
sticks it in ViewState for that page.
4.Every time the user goes to a different page to view an
article, the userID is thrown into a session variable,
the new page loads, the username is grabbed from teh
session and thrown in to viewstate for THAT page, and
the session variable is destroyed.
If you do it this way you:
a) don't need query strings
b) use sessions, but not in a way where you'd have 100 of
them floating around all at the same time (since they're
always being created and destroyed only when moving to a
new page
c) the userid is never seen as it is hashed in the source
returned.
Now, before anyone jumps down my throat, yes the Viewstate is NOT super secure (there's a whole thread debating this topic), but if the userID is used ONLY to determine customization of the pages, I couldn't see how exposing it would hurt.
And I still say that if you have a page that hashes the Viewstate on top of the encoding that occurs, its pretty secure, but I'll leave that for the other post.
jack