473,322 Members | 1,540 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,322 software developers and data experts.

Session Management

Being new at web in general and starting in over my head
(http://www.vbdotnetheaven.com/Upload...GardenVb.aspx),
I'm hoping to get some general direction on implementing an interface. In
the article above, there are public listings of two interfaces Session and
SessionManager.

Specifically I am receiving this error:

Error 1 Cannot refer to an instance member of a class from within a shared
method or shared member initializer without an explicit instance of the
class. C:\VB8\SQLPoorMon\SQLPoorMon\SQLPoorMon\Default.as px.vb 41 12 SQLPoorMon

AND

a bunch of these:
Error 10 Class 'SessionManager' must implement 'Function createSessionId()
As String' for interface
'ISessionManager'. C:\VB8\SQLPoorMon\SQLPoorMon\SQLPoorMon\SessionMan ager.vb 18 16 SQLPoorMon
I am unsure of a method of dealing with an interface. For example, does the
declaration of the interface belong in the default.aspx or should it reside
in with the SessionManager class? How is the interface implemented? Is
there a call required from default.aspx similar to what might occur using a
WithEvents call? Does the interface need to be pre-registered in the GAC
before it can be implemented?

Help appreciated.
--
Regards,
Jamie
Mar 7 '07 #1
1 1344

"thejamie" <th******@discussions.microsoft.comwrote in message
news:32**********************************@microsof t.com...
Being new at web in general and starting in over my head
(http://www.vbdotnetheaven.com/Upload...ebGardenVb1110
2005083632AM/SessionWebGardenVb.aspx),
I'm hoping to get some general direction on implementing an interface. In
the article above, there are public listings of two interfaces Session and
SessionManager.

Specifically I am receiving this error:

Error 1 Cannot refer to an instance member of a class from within a shared
method or shared member initializer without an explicit instance of the
class. C:\VB8\SQLPoorMon\SQLPoorMon\SQLPoorMon\Default.as px.vb 41 12
SQLPoorMon
>
AND

a bunch of these:
Error 10 Class 'SessionManager' must implement 'Function createSessionId()
As String' for interface
'ISessionManager'.
C:\VB8\SQLPoorMon\SQLPoorMon\SQLPoorMon\SessionMan ager.vb 18 16 SQLPoorMon
>

I am unsure of a method of dealing with an interface. For example, does
the
declaration of the interface belong in the default.aspx or should it
reside
in with the SessionManager class? How is the interface implemented? Is
there a call required from default.aspx similar to what might occur using
a
WithEvents call? Does the interface need to be pre-registered in the GAC
before it can be implemented?

Help appreciated.
Try asking in microsoft.public.dotnet.framework.aspnet

this group here is for Classic ASP
Mar 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
3
by: Erik Johnson | last post by:
There are a lot of things about PHP I was not too keen on and hence why my company is primarily doing Python these days, but one thing I was quite impressed with was the ease with which it provided...
5
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
2
by: John A Grandy | last post by:
for high traffic public websites , what are the proven options for session-state storage & management ? is an out-of-process state-server generally preferred over a sql-server ? what are the...
13
by: James Hunter Ross | last post by:
We love the ASP.NET "Session" concept and make good use of it. But, getting close to deployment we find we lose sessions far too often, probably due to application restarts, etc. We hope to...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
5
by: rug | last post by:
Hello, I want to use a MySQL Heap table (server load isn't an issue) for session management considering that I use a shared server and don't want anyone who has access to /tmp to be able to read...
2
by: =?Utf-8?B?YW5vb3A=?= | last post by:
Hello, I am developing a Simple ASP Application with a Login page. I want to know how session ID can be generated after User has authenticated instead of generation along with the Login page...
5
by: knyghtfyre | last post by:
Hello, My company is developing a rather large application with .NET 2.0. We are expanding to a server farm and are in the process of converting our application to use an out-of-process session...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.