Go Back   Gaming Gutter


» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Post Your Picture
10-10-2006 12:34 AM
by Ryan
Last post by Zombies
Today 03:23 AM
9,002 Replies, 128,701 Views
Go to first new post Just bought Pokemon Red!
Yesterday 06:20 PM
Last post by Unregenerate Passion
Today 03:23 AM
7 Replies, 29 Views
Go to first new post GG NIGHT CREW, CHECK IN!
12-15-2008 04:59 AM
by Bunneh
Last post by Unregenerate Passion
Today 03:16 AM
3,932 Replies, 16,598 Views
Go to first new post Best WoW Private Server...
11-08-2008 02:05 PM
by blurx
Last post by Zombies
Today 03:14 AM
20 Replies, 1,057 Views
Go to first new post What movie have you just...
11-29-2008 10:34 AM
by Kospor
Last post by geff_chang
Today 03:11 AM
172 Replies, 1,104 Views
View Single Post

 
Old 01-25-2008, 06:03 AM   #17 (permalink)
Nub
Underground

Male Nub is offline
 
Nub's Avatar
 
Join Date: Jan 2007
Posts: 139
GPoints: 25
iTrader: 0 / 0%
Nub Is gaining popularity
Rep Power: 7
Nah, it's Unown. :/

Can someone join the website to get a better feel of what I'm trying to do, please? x_x

Okay so apparently (thanks to Debug.Print) my login is messing up. What happens is it'll input the username/pass on the and hit log in but after that a redirect page will pop up, saying:

Quote:
You are logged in. You will be redirected in 0 seconds.

If you are not redirected, please click here.
Then it redirects to the index, but if you 'click here' it'll take you to:
Shadow RPG :: Stats

Now, I tried the Debug.Print after immediately logging in, and it successfully tells me that I am logged in and waiting to be redirected. When you 'click here' when you're actually on the site (and not using the program) it'll take you to the stats page and keep you logged in. When I put it into my program, then put Debug.Print after it, the Immediate Window tells me that I'm no longer logged in. Any help here?

Quote:
Private Sub cmdLogin_Click()
Dim strHTML As String, OnOff As Boolean

strHTML = Wrapper.PostWrapper("http://srpg.myircshells.com/login.php", "user=" & txtUser.Text & "&pass=" & txtPass.Text)

If InStr(1, strHTML, "failed") Then
lblStatus.Caption = "Bad password."
ElseIf InStr(1, strHTML, "You are logged") Then
lblStatus.Caption = "Logged In."
Debug.Print strHTML
Else
lblStatus.Caption = "Unknown Error."
End If


End Sub
So basically this redirect is messing me up, cause I don't know how to make the program 'wait to be redirect [and stay logged in]' on its own, and forcing it to go to the stats.php page after logging in isn't letting me stay logged in. ><

Hell yeah, I finally got it to work lol. Any way to make it wait between page changes? I wanna slow the program down a little.
__________________
Successful Trades: 4 - Legend and Duckii and iOwnurazz and Matt://, no MM :]

Last edited by Tyler; 01-26-2008 at 07:24 PM..
 
 
Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 03:24 AM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.16400599 seconds (100.00% PHP - 0% MySQL) with 17 queries