Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

advice on converting from ASP to ASP.NET

Status
Not open for further replies.

ksbigfoot

Programmer
Joined
Apr 15, 2002
Messages
856
Location
CA
I want to convert an application website that contains about 200 pages over to ASP.NET.
It is to big to convert all at once and I don't have the knowledge yet on how to do this.
I want to convert one area at a time.
I keep session variables in my ASP page to show the user has logged on correctly. I am not sure if ASP.NET can read in Session variables from my ASP pages?
How would I maintain the session variables between my ASP and ASP.NET pages? OR is there a better way of doing this?
Thanks
 
If your ASP app is running fine and you have no problems with it...then i would recommend not to worry about upgrading/converting it to asp.net...

but you can create any new applications using asp.net

-DNG
 
Howdy DotNetGnat,
I am implementing a ftp application, which is very easy in ASP.NET, but really hard in ASP.
I wanted to take advantage of the improved functionality and security that comes with .net.
But I am not sure how to make sure they have logged into my website, which they originally did through an ASP page.
 
Maintaing state between ASP and ASP.NET can be tricky. I did it in one app, but I don't remember exactly how. I belive I used hidden text boxes. You can find the answer by Googling it.. that's how I found the answer.
 
Howdy jbenson001,
I was searching google and I found this idea I am going to try.
Don't supply a link directly to the .aspx page, but link back into a .asp page that will write the session variables in a table, read back the ID value that was just created. Pass this ID value to the .aspx page.
The .aspx page will read the record out of the table based on the ID that was passed in and create it's own Session Variables. They it will clean up the record in the database.
I think this might work :)
Thanks again,
ksbigfoot
 
That will work. I know I didn't do it that way, but I just can't remember how, sorry. But the DB approach will work

Jim
 
You can follow articles such as this but to be honest it's easier to start from scratch.

You could start by making certain sections of the ASP site call a web service written in .NET. This way, you are taking advantage of .NET, but simply modifying your ASP code to call the relevant web service (and you'll know if the user is authenticated before you call the service so you don't have to worry about that twice).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top