Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intercept to insert the client ip information into database #1

Open
xpbliss opened this issue Jan 3, 2015 · 1 comment
Open

intercept to insert the client ip information into database #1

xpbliss opened this issue Jan 3, 2015 · 1 comment

Comments

@xpbliss
Copy link

xpbliss commented Jan 3, 2015

the xormrevelmodule is a good work! i use it .
revel.InterceptMethod(App.recordIP, revel.BEFORE)
when i use xormrevelmodule in InterceptMethod.
whatever i do anything to insert the client ip informat to the database in App.recordIP. it's always panic. like the following:
Uploading QQ图片20150103223149.png . . .

qq 20150103223149

@nashtsai
Copy link
Owner

this looks like Xorm usage error, what is your Xorm version? and does the same code work when when it's not in InterceptMethod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants