| Author |
Topic Search Topic Options
|
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 February 2013 at 9:01am |
|
I am on the same domain and Application Pool - the AP is .NET Framework v2.0.50727 with "Classic" (not integrated) Managed pipeline mode...
|
 |
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 February 2013 at 9:32am |
Strangely, while i am in the same app pool, a new session id is issued when I navigate to the forum page! this must be somehow related. The new session id that is generated is incremented by 1 or 2 as I move from the member page to a forum page. For example, if I print the session id on the member page and it is 12345677, the forum would be 12345678 or 12345679! If using a different app pool or domain, the entire number is different, not incremented by one or two. I am at a total loss, but hopefully this can help identify the problem...
|
 |
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 February 2013 at 9:49am |
IanSmith, in answer to your sidenote, both the membership script and the forum (obviously!) are classic ASP; I am not using any ASP .NET page whatsoever. Could the fact that the forum directory has a web.config file cause this hiccup? I'm starting to think this is the root of my problem -- any recommended method of preventing the session to increment when switching between the membership page (different directory) and the forum pages (with it's own web.config file in the forum directory)?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(1)
Quote Reply
Posted: 04 February 2013 at 4:27pm |
The web Wiz Forums web.config file is for the URL Rewrite rules and should not affect sessions.
Make sure that the forums directory is not an application/virtual directory in IIS as this will then mean that it runs as a separate website to the rest of the website and not be able to share session variables.
|
|
|
 |
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 05 February 2013 at 5:16am |
I removed the Application Pool for the forum and am now using the main App Pool for both the Forum and the membership pages. Both allow anonymous access. Restarted IIS. No luck, still different sessionIDs as I move from membership page to forum. Restarted the server. Still different sessionIDs as I move from membership page to forum. I am not using virtual directories, both are actual directories off the root. Could the different webconfig files (one in forum, other in membership) possibly trigger a different sessionID?
|
 |
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 05 February 2013 at 5:33am |
|
It turns out the membership page (since it contains sensitive data) requires HTTPS, when I switch to the forum, it's regular http. Session.ID is incremented. Do you have any suggestion/idea on how I can best bring over the Session("User") ETC that I need for the forum from the membership pages that use HTTPS?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(1)
Quote Reply
Posted: 05 February 2013 at 10:51am |
You would need to have both running under the same website either with HTTP or HTTPS.
Web Wiz Forums does support HTTPS and will switch to HTTPS for login, registration, member control panel, etc.
You may want to try enabling HTTPS support in Web Wiz Forums and see if that fixes the issue. You can enable the HTTPS support from the General settings page in Web Wiz Forums admin page.
You may find that you need to point the URL from your website to an https:// URL of the forum so that the session variables can be passed over correctly and the user logged in.
|
|
|
 |
GhOs+
Groupie
Joined: 02 January 2005
Location: United States
Status: Offline
Points: 115
|
Post Options
Thanks(0)
Quote Reply
Posted: 05 February 2013 at 1:43pm |
|
Thanks!!!
|
 |