freelanceprogrammers.org Forum Index » ASP

Passing ASP Session Variables to ASP.NET


View user's profile Post To page top
libertyhosting Posted: Wed Jan 11, 2006 11:00 pm


Joined: 11 Jan 2006

Posts: 9
Passing ASP Session Variables to ASP.NET
Hi All,

I have this code in an ASP page:

Session("upload") = ShortFilename(Ubound(ShortFilename))
Response.Redirect("PDPMain.aspx")

In the PDPMain.aspx I have this code in the Page_Load function:

If Session.Contents("upload") <> Nothing Then
getExcel()
End If

In the trace the Session("upload") is not listed and I believe it is not
being passed. Therefore the getExcel function is not being executed.

Does anyone know if there is something special that has to be done to pass
session variables from ASP to ASP.NET?

Thanks for any help.

Gregory D. Fox
Liberty Web Hosting & Design
401-823-5252/Fax: 401-828-7057
MSN: <mailto:Greg@...> Greg@...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Providing Internet Solutions Since 1996
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




[Non-text portions of this message have been removed]
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help