Adding a specific user link code to end of url?

Unless there are any private data concerns, it may be best to store the user's code into session You can add most any variable you want to the session by doing the following: Session("userCode") = "12 And retrieve it like this: Dim userCode as Integer userCode = Session("userCode") Just make sure that the type you store it as is compatible with the type you assign it to when you pull it back down To check on each page you could declare a private variable within the page to store the value: Private userCode As Integer And then Sub Page_Load(sender As Object, e As EventArgs) userCode = Session("userCode") End Sub Then just execute whatever other code you need to using that value.

Unless there are any private data concerns, it may be best to store the user's code into session. You can add most any variable you want to the session by doing the following: Session("userCode") = "12" And retrieve it like this: 'Dim userCode as Integer' 'userCode = Session("userCode")' Just make sure that the type you store it as is compatible with the type you assign it to when you pull it back down. To check on each page you could declare a private variable within the page to store the value: Private userCode As Integer And then Sub Page_Load(sender As Object, e As EventArgs) userCode = Session("userCode") End Sub Then just execute whatever other code you need to using that value.

– jlg Oct 7 at 17:51 @jlg Edited my initial post to answer your question. – DJ Quimby Oct 7 at 18:02 Thank you! :) – jlg Oct 7 at 18:05 How do I put this code at the end of the URL?

I added more to the original post, can't quite get it to work. – jlg Oct 10 at 18:04 Now that you are using the session variable, you don't need to append the request string to the URL. You can access the session variable from any page's code-behind as long as the user's session hasn't timed out.

I am less fluent with the inline asp that you posted, so if that's the route you plan to go down, you'll need to post a separate question to SO to get a better answer. HTH – DJ Quimby Oct 10 at 18:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions