By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,166 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,166 IT Pros & Developers. It's quick & easy.

Access an ASP.NET subpge from VB.NET app

P: n/a
Is there a way to access a module/subpage (.ASPX) from a VB.NET app by
providing the user authentication at runtime?
For example, I would like to open terminalList.aspx from my VB app using an
IE window but it always kicks me to the login screen.

Thanks
Bill
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Depends on wich authentication method you use

I use Forms authentication and i do with a VB.Net program exactly what
you want

with my VB program it is possible to logon directly to this website

http://www.tireponline.de

as you see when you enter this website formsauthenticatuion will make a
redirect like this

http://www.tireponline.de/login.aspx...2fDefault.aspx

so i just send my username and password in the querystring from my vb app

http://www.tireponline.de/login.aspx...yptedpassword&

in my login.aspx page i query for these values and if found decrypt them an
log the user on and redirect them to the correct page

Hope to have given you some ideas :-)

regards

Michel Posseth [MCP Developer]


"Bill nguyen" <bi*****************@jaco.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
Is there a way to access a module/subpage (.ASPX) from a VB.NET app by
providing the user authentication at runtime?
For example, I would like to open terminalList.aspx from my VB app using an IE window but it always kicks me to the login screen.

Thanks
Bill

Nov 21 '05 #2

P: n/a
Dear Michel;
I tried your syntax directly in IE address box and it didn't work.
Do you happen to have any snippet that can be served as an example?
Thanks

Bill
"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:d5*********@reader08.wxs.nl...

Depends on wich authentication method you use

I use Forms authentication and i do with a VB.Net program exactly what
you want

with my VB program it is possible to logon directly to this website

http://www.tireponline.de

as you see when you enter this website formsauthenticatuion will make a
redirect like this

http://www.tireponline.de/login.aspx...2fDefault.aspx

so i just send my username and password in the querystring from my vb app

http://www.tireponline.de/login.aspx...yptedpassword&

in my login.aspx page i query for these values and if found decrypt them
an
log the user on and redirect them to the correct page

Hope to have given you some ideas :-)

regards

Michel Posseth [MCP Developer]


"Bill nguyen" <bi*****************@jaco.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
Is there a way to access a module/subpage (.ASPX) from a VB.NET app by
providing the user authentication at runtime?
For example, I would like to open terminalList.aspx from my VB app using

an
IE window but it always kicks me to the login screen.

Thanks
Bill


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.