ASP Pro Code ClinicAs of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
when somebody enters my webpage i save the userid in a session variable. They can access my webpage at 2 ways. They can access it by typing the ipnumber or the name of the site in the browsers' addressbar.
either way the sessionvariable will be filled with the userid. But the problem is that i used a few absolute paths in my site. With those paths i always used this format: "ipnumber/page.asp". When a user enters my site by typing the name in de browser the session value is set (i checked this!). But when i redirect somewhere on my site to "ipnumber/page.asp" this value is lost.
Is there some way to solve this problem?
cause i thought it wouldn't make any difference if you access a site by it's ipnumber or by it's name because the server treats both the same...or is this assumption incorrect?