By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

Problens with session when execute a stored procedure in Oracle

P: n/a
Hello everybody!
I have a problem and I dont find a answer...
Please help me.
I have a application, that the user log in the app, get a
usersessionID, and buy the products on my virtual mall..
The problen occurs whe the user lost his session and try to navigate
in the virtual mall...
He gets the message:
OraOLEDB error '80004005'
Erro não especificado (dont specific error..)
In line 90

"The line 90" try to execute a procedure in Oracle, but how the
session is empty, the error occours...

THE LINE 90!
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search &
"',null)"
Set rsProduto1 = Cmd1.Execute

Thanks a lot for the help and sorry by my bad english
Best Regards
EMala
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Why not just have;

If Session("Whatever") = True Then
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search & "',null)"
Set rsProduto1 = Cmd1.Execute
Else
Response.Write "Woops, your session has expired"
End If

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"EMala" <em****@bettainformatica.com.br> wrote in message
news:ad**************************@posting.google.c om...
Hello everybody!
I have a problem and I dont find a answer...
Please help me.
I have a application, that the user log in the app, get a
usersessionID, and buy the products on my virtual mall..
The problen occurs whe the user lost his session and try to navigate
in the virtual mall...
He gets the message:
OraOLEDB error '80004005'
Erro não especificado (dont specific error..)
In line 90

"The line 90" try to execute a procedure in Oracle, but how the
session is empty, the error occours...

THE LINE 90!
Cmd1.CommandText = "SP_PESQUISA(" & id_mall & ",'" & search &
"',null)"
Set rsProduto1 = Cmd1.Execute

Thanks a lot for the help and sorry by my bad english
Best Regards
EMala

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.