473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access an ASP.NET subpge from VB.NET app

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
2 962

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded....
1
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two things need to be considered when determining an...
13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.