trevster344's Profile User Rating: ****-

Reputation: 224 Stalwart
Group:
Contributor w/DIC++
Active Posts:
1,522 (0.85 per day)
Joined:
16-March 11
Profile Views:
41,948
Last Active:
User is offline Feb 04 2016 08:45 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Mozilla
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Chevrolet
Dream Kudos:
125

Latest Visitors

Icon   trevster344 has not set their status

Posts I've Made

  1. In Topic: How to link from one page to another page in asp.net

    Posted 29 Jan 2016

    If you're going to store it before going to the second page just post it to said page.

    You probably already have a form on your page and with that said change the action attribute to the address of the page it will be posting to.

    <form method="post" action="/MyOtherPage.aspx" id="form1">
    
    <input type='text' name='mytextbox1' value='mytest1'/>
    
    <input type="submit" value='Submit'/>
    
    </form>
    
    


    You can alter your forms action via javascript or .net.

    <!-- Javascript -->
    form1.action = '/MyOtherPage.aspx';
    
    <!-- .NET -->
    form1.Action = "/MyOtherPage.aspx"
    
    


    After you've posted to the second page you'll want to look for the variables via:

    'On the second page
    dim value1 as string = Request.Form.Get("mytextbox1") 'Returns input data from the form --> Don'tforget to decode
    
    
    


    OR via .NET using session state

    'On the page(/MyOtherPage.aspx)
    If IsPostBack = True then
    
       dim value1 as string = mytextbox1.text 'Only works if the input was created via server control (runat="server")
    
    End If
    
    


    Hope this helps.
  2. In Topic: Getting Stuck, normal?

    Posted 13 Jan 2016

    View PostJenniferF, on 08 January 2016 - 10:27 PM, said:

    I'm so happy to know I'm not the only one! Since I'm in the process of switching my job from being a Systems Engineer to becoming a full time software engineer.

    Thanks Guys!

    -Jenn


    I hope you didn't think it would be easy. :stuart:
  3. In Topic: Landing a job in web development although...

    Posted 9 Feb 2015

    Defeatist attitudes are a surefire way to go nowhere in a hurry. Sorry about your rough upbringing but at the same time it's not my problem nor is it any other persons problem so keep that in mind *always.

    Some of the best advice I have ever received for getting hired: Be honest, be nice, and be persistent.

    This thread has been very insightful and I believe it will help many others who find themselves with similar frustrations.
  4. In Topic: Secure URL with Querystring

    Posted 27 Jan 2015

    Why don't you just send a randomly generated link that expires? Generate a key, store the key with the users id, and the time it was created. Allow only a certain amount of time, if said time passes, delete the relation in the database or place of storage and deny the user even if it is user 1 trying to access the item at a much later time.
  5. In Topic: Secure URL with Querystring

    Posted 25 Jan 2015

    Any particular reason why you don't just post the value through the form? On the submit use javascript to change the value of a hidden field to that of the ID and post it. Maybe I don't understand your process, or your question? Can you go into a bit more detail on exactly what you're doing?

My Information

Member Title:
The Peasant
Age:
23 years old
Birthday:
August 14, 1992
Gender:
Years Programming:
9

Contact Information

E-mail:
Private
Skype:
Skype  trevmonshta

Comments

trevster344 has no profile comments yet. Why not say hello?