lukas76's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
91 (0.05 per day)
Joined:
20-January 08
Profile Views:
750
Last Active:
User is offline Oct 30 2012 07:13 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Safari
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   lukas76 has not set their status

Posts I've Made

  1. In Topic: [Webrequests] Any good tutorial?

    Posted 17 Aug 2012

    View Postdeery5000, on 17 August 2012 - 04:05 PM, said:

    **** BOOM ****

    Try this

    Dim request As HttpWebRequest
            Dim response As HttpWebResponse = Nothing
            Dim reader As StreamReader
            Dim result As String
    
            Try
                ' Create the web request   
                request = DirectCast(WebRequest.Create(connectionString), HttpWebRequest)
    
                'Get response   
                response = DirectCast(request.GetResponse(), HttpWebResponse)
    
                ' Get the response stream into a reader   
                reader = New StreamReader(response.GetResponseStream())
    
                ' Read the whole contents and return as a string   
                result = reader.ReadToEnd()
                reader.Close()
    
            Catch e As Exception
    
                If Not response Is Nothing Then response.Close()
    
                Return 0
            End Try
    
            response.Close()
            reader.Close()
            response = Nothing
            request = Nothing
    
            Return result
    
    


    pass in a connection string

    kevin


    thanks but no thanks man, I'm having trouble with the phpsessionID. Plus it doesn't really show its self as a tutorial. Sorry for being blunt but thanks again. :)

    I'd rather be handed the fishing pole and not the fish. Works 100% better in the long run.
  2. In Topic: [Webrequests] Any good tutorial?

    Posted 13 Aug 2012

    View Post_HAWK_, on 12 August 2012 - 11:40 PM, said:

    I an no expert in this area, but it looks to be quite applicable. Do you have any specific issues?


    Any more most if not all websites with a basic form login page have you include a phpsessionid in when you go to "post" data.

    To get the phpsessionid would i have to do a GET request and save the cookies i get in the same cookie i want to use for the POST request?
  3. In Topic: Freelancing : Tips to help you stay focused and on-task

    Posted 6 Apr 2012

    Great post, I've been having many of these same problems when i started out freelancing! :)

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
java java java
Years Programming:
1
Programming Languages:
blitz plus
little of java

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://www.google.com

Friends

lukas76 hasn't added any friends yet.

Comments

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